Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Class SqlMapException  view SqlMapException download

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.ibatis.common.exception.NestedRuntimeException
                  extended bycom.ibatis.sqlmap.client.SqlMapException
All Implemented Interfaces:

public class SqlMapException
extends com.ibatis.common.exception.NestedRuntimeException

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).

Nested Class Summary
Nested classes inherited from class java.lang.Throwable
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
          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
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


public SqlMapException()
Simple constructor


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


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


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