站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 1.2.9 API 文档英文版

MetaDataAccessException (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


org.springframework.jdbc.support
Class MetaDataAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.springframework.core.NestedCheckedException
              extended by org.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

Constructor Summary
MetaDataAccessException(String msg)
          Constructor for MetaDataAccessException.
MetaDataAccessException(String msg, Throwable ex)
          Constructor for MetaDataAccessException.
 
Method Summary
 
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 - the detail message

MetaDataAccessException

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

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


Copyright (c) 2002-2007 The Spring Framework Project.