org.springframework.jdbc.support
Class MetaDataAccessException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.springframework.core.NestedCheckedException
              extended byorg.springframework.jdbc.support.MetaDataAccessException
All Implemented Interfaces:
Serializable

public class MetaDataAccessException
extends NestedCheckedException

Exception indicating that something went wrong during JDBC metadata 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 metadata is usually not a fatal problem.

Since:
1.0.1
Author:
Thomas Risberg
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
MetaDataAccessException(String msg)
          Constructor for MetaDataAccessException.
MetaDataAccessException(String msg, Throwable ex)
          Constructor for MetaDataAccessException.
 
Methods inherited from class org.springframework.core.NestedCheckedException
contains, getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, 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(String msg)
Constructor for MetaDataAccessException.

Parameters:
msg - message

MetaDataAccessException

public MetaDataAccessException(String msg,
                               Throwable ex)
Constructor for MetaDataAccessException.

Parameters:
msg - message
ex - root cause from data access API in use


Copyright (C) 2003-2004 The Spring Framework Project.