public class QueryExecutionException extends ODCleanStoreException
Constructor and Description |
---|
QueryExecutionException(EnumQueryError errorType,
Integer errorCode,
String message)
Constructs a new exception with the given message.
|
QueryExecutionException(EnumQueryError errorType,
Integer errorCode,
String message,
Throwable cause)
Constructs a new exception with the given message and cause.
|
QueryExecutionException(EnumQueryError errorType,
Integer errorCode,
Throwable cause)
Constructs a new exception with the given cause.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getErrorCode()
Return the error code of the error.
|
EnumQueryError |
getErrorType()
Return the type of the error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public QueryExecutionException(EnumQueryError errorType, Integer errorCode, Throwable cause)
errorType
- type of the errorerrorCode
- code of the errorcause
- the causepublic QueryExecutionException(EnumQueryError errorType, Integer errorCode, String message, Throwable cause)
errorType
- type of the errorerrorCode
- code of the errormessage
- the detail messagecause
- the causepublic QueryExecutionException(EnumQueryError errorType, Integer errorCode, String message)
errorType
- type of the errorerrorCode
- code of the errormessage
- the detail messagepublic EnumQueryError getErrorType()
public Integer getErrorCode()
ODCSErrorCodes
Copyright © 2013. All Rights Reserved.