com.ibatis.sqlmap.client
Class SqlMapException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.ibatis.sqlmap.client.SqlMapException
所有已实现接口:
java.io.Serializable

public class SqlMapException
extends java.lang.RuntimeException

Thrown to indicate a problem with SQL Map configuration or state. Generally if an SqlMapException is thrown, something is critically wronge and cannot be corrected until a change to the configuration or the environment is made.

Note: Generally this wouldn't be used to indicate that an SQL execution error occurred (that's what SQLException is for).

另请参见:
Serialized Form

构造器摘要
SqlMapException()
          Simple constructor
SqlMapException(java.lang.String msg)
          Constructor to create exception with a message
SqlMapException(java.lang.String msg, java.lang.Throwable cause)
          Constructor to create exception to wrap another exception and pass a message
SqlMapException(java.lang.Throwable cause)
          Constructor to create exception to wrap another exception
 
方法摘要
 
类方法继承: java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
类方法继承: java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造器详细信息

SqlMapException

public SqlMapException()
Simple constructor


SqlMapException

public SqlMapException(java.lang.String msg)
Constructor to create exception with a message

参数:
msg - A message to associate with the exception

SqlMapException

public SqlMapException(java.lang.Throwable cause)
Constructor to create exception to wrap another exception

参数:
cause - The real cause of the exception

SqlMapException

public SqlMapException(java.lang.String msg,
                       java.lang.Throwable cause)
Constructor to create exception to wrap another exception and pass a message

参数:
msg - The message
cause - The real cause of the exception