public class SqlProcessorException extends RuntimeException
For more info please see the Tutorials.
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private String |
sqlCommand
The failed SQL command.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
String |
getSqlCommand()
Returns the failed SQL command.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
private String sqlCommand
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 String getSqlCommand()
public String getMessage()
getMessage
in class Throwable
Copyright © 2017. All rights reserved.