org.sqlproc.engine
Class SqlRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.sqlproc.engine.SqlRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class SqlRuntimeException
extends java.lang.RuntimeException

General runtime exception class for the SQL Processor engine. This exception can be raised in the process of a META SQL query or a statement execution. It's not produced in JDBC or ORM layer, but in the SQL Processor engine itself.

Author:
Vladimir Hudec
See Also:
Serialized Form

Constructor Summary
SqlRuntimeException()
          Creates a new instance of the exception.
SqlRuntimeException(java.lang.String message)
          Creates a new instance of the exception.
SqlRuntimeException(java.lang.String message, java.lang.Throwable cause)
          Creates a new instance of the exception.
SqlRuntimeException(java.lang.Throwable cause)
          Creates a new instance of the exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlRuntimeException

public SqlRuntimeException()
Creates a new instance of the exception.


SqlRuntimeException

public SqlRuntimeException(java.lang.String message)
Creates a new instance of the exception.

Parameters:
message - the error message

SqlRuntimeException

public SqlRuntimeException(java.lang.Throwable cause)
Creates a new instance of the exception.

Parameters:
cause - the error cause

SqlRuntimeException

public SqlRuntimeException(java.lang.String message,
                           java.lang.Throwable cause)
Creates a new instance of the exception.

Parameters:
message - the error message
cause - the error cause


Copyright © 2011. All Rights Reserved.