com.ibatis.db.sqlmap
Class SqlMapException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.ibatis.common.exception.NestedRuntimeException
                  extended bycom.ibatis.db.sqlmap.SqlMapException
All Implemented Interfaces:
java.io.Serializable

public class SqlMapException
extends NestedRuntimeException

An unchecked exception generally thrown due to a misconfiguration or invalid syntax in an SQL Map. These exceptions would generally be:

Author:
clinton_begin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibatis.common.exception.NestedRuntimeException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SqlMapException()
          Default constructor
SqlMapException(java.lang.String s)
          Constructor that allows setting a message
SqlMapException(java.lang.String msg, java.lang.Throwable cause)
           
SqlMapException(java.lang.Throwable cause)
           
 
Methods inherited from class com.ibatis.common.exception.NestedRuntimeException
getCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlMapException

public SqlMapException()
Default constructor


SqlMapException

public SqlMapException(java.lang.String s)
Constructor that allows setting a message

Parameters:
s - The message for the exception

SqlMapException

public SqlMapException(java.lang.Throwable cause)

SqlMapException

public SqlMapException(java.lang.String msg,
                       java.lang.Throwable cause)