org.springframework.jdbc.support

Class MetaDataAccessException

  • All Implemented Interfaces:
    java.io.Serializable


    public class MetaDataAccessException
    extends NestedCheckedException
    Exception indicating that something went wrong during JDBC meta-data lookup.

    This is a checked exception since we want it to be caught, logged and handled rather than cause the application to fail. Failure to read JDBC meta-data is usually not a fatal problem.

    Since:
    1.0.1
    Author:
    Thomas Risberg
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      MetaDataAccessException(java.lang.String msg)
      Constructor for MetaDataAccessException.
      MetaDataAccessException(java.lang.String msg, java.lang.Throwable cause)
      Constructor for MetaDataAccessException.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MetaDataAccessException

        public MetaDataAccessException(java.lang.String msg)
        Constructor for MetaDataAccessException.
        Parameters:
        msg - the detail message
      • MetaDataAccessException

        public MetaDataAccessException(java.lang.String msg,
                                       java.lang.Throwable cause)
        Constructor for MetaDataAccessException.
        Parameters:
        msg - the detail message
        cause - the root cause from the data access API in use