|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sqlproc.engine.SqlProcessorException
public class SqlProcessorException
The 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 produced in the JDBC or ORM layer, not in the SQL Processor engine itself. Most of the time it's a wrapper class for the cause exception.
For more info please see the Tutorials.
Field Summary | |
---|---|
private static long |
serialVersionUID
|
private String |
sqlCommand
The failed SQL command. |
Constructor Summary | |
---|---|
SqlProcessorException()
Creates a new instance of the exception. |
|
SqlProcessorException(String message)
Creates a new instance of the exception. |
|
SqlProcessorException(String message,
Throwable cause)
Creates a new instance of the exception. |
|
SqlProcessorException(String message,
Throwable cause,
String sqlCommand)
Creates a new instance of the exception. |
|
SqlProcessorException(Throwable cause)
Creates a new instance of the exception. |
|
SqlProcessorException(Throwable cause,
String sqlCommand)
Creates a new instance of the exception. |
Method Summary | |
---|---|
String |
getMessage()
|
String |
getSqlCommand()
Returns the failed SQL command. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private String sqlCommand
Constructor Detail |
---|
public SqlProcessorException()
public SqlProcessorException(String message)
message
- the error messagepublic SqlProcessorException(Throwable cause)
cause
- the error causepublic SqlProcessorException(String message, Throwable cause)
message
- the error messagecause
- the error causepublic SqlProcessorException(Throwable cause, String sqlCommand)
cause
- the error causesqlCommand
- the failed SQL commandpublic SqlProcessorException(String message, Throwable cause, String sqlCommand)
message
- the error messagecause
- the error causesqlCommand
- the failed SQL commandMethod Detail |
---|
public String getSqlCommand()
public String getMessage()
getMessage
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |