Class SqlMapException

All Implemented Interfaces:
Serializable

public class SqlMapException extends 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).

See Also:
  • Constructor Details

    • SqlMapException

      public SqlMapException()
      Simple constructor.
    • SqlMapException

      public SqlMapException(String msg)
      Constructor to create exception with a message.
      Parameters:
      msg - A message to associate with the exception
    • SqlMapException

      public SqlMapException(Throwable cause)
      Constructor to create exception to wrap another exception.
      Parameters:
      cause - The real cause of the exception
    • SqlMapException

      public SqlMapException(String msg, Throwable cause)
      Constructor to create exception to wrap another exception and pass a message.
      Parameters:
      msg - The message
      cause - The real cause of the exception