|
Anyframe Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
anyframe.common.exception.BaseException
anyframe.core.query.QueryServiceException
public class QueryServiceException
This is an exception class for handling the exceptions in operating QueryService.
| Field Summary |
|---|
| Fields inherited from class anyframe.common.exception.BaseException |
|---|
message, messageKey, messageParameters |
| Constructor Summary | |
|---|---|
QueryServiceException(MessageSource messageSource,
String messageKey)
Constructor with a messageSource and message key |
|
QueryServiceException(MessageSource messageSource,
String messageKey,
Object[] messageParameters)
Constructor with a messageSource, message key and message parameters |
|
QueryServiceException(MessageSource messageSource,
String messageKey,
Object[] messageParameters,
Throwable exception)
Constructor with a messageSource, message key, message parameters and an exception. |
|
QueryServiceException(MessageSource messageSource,
String messageKey,
Throwable exception)
Constructor with a messageSource, message key and an exception. |
|
QueryServiceException(String message)
Constructor with a message. |
|
QueryServiceException(String message,
Throwable exception)
Constructor with a message and an exception. |
|
| Method Summary | |
|---|---|
String |
getSqlErrorCode()
Transmit the SQL ErrorCode occurred in executing the query |
String |
getSqlErrorMessage()
Transmit the SQL ErrorMessage occurred in executing the query |
void |
setSqlErrorCode(String sqlErrorCode)
Set the SQL ErrorCode occurred in executing the query |
void |
setSqlErrorMessage(String sqlErrorMessage)
Set the SQL Error message occurred in executing the query |
| Methods inherited from class anyframe.common.exception.BaseException |
|---|
getMessage, getMessageKey, getMessageParameters, getMessages, setMessageKey, setMessageParameters |
| 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 |
| Constructor Detail |
|---|
public QueryServiceException(String message)
message - the message of this exception
public QueryServiceException(String message,
Throwable exception)
message - the message of this exceptionexception - the exception that is wrapped in this
exception
public QueryServiceException(MessageSource messageSource,
String messageKey,
Object[] messageParameters)
messageSource - messageSource handling the message
resourcemessageKey - the key of arbitrary message defined in
message resourcemessageParameters - the variable values for replacing in the
arbitray message
public QueryServiceException(MessageSource messageSource,
String messageKey)
messageSource - messageSource handling the message
resourcemessageKey - the key of arbitrary message defined in
message resource
public QueryServiceException(MessageSource messageSource,
String messageKey,
Object[] messageParameters,
Throwable exception)
messageSource - messageSource handling the message
resourcemessageKey - the key of arbitrary message defined in
message resourcemessageParameters - the variable values for replacing in the
arbitray messageexception - the exception that is wrapped in this
exception
public QueryServiceException(MessageSource messageSource,
String messageKey,
Throwable exception)
messageSource - messageSource handling the message
resourcemessageKey - the key of arbitrary message defined in
message resourceexception - the exception that is wrapped in this
exception| Method Detail |
|---|
public String getSqlErrorCode()
public void setSqlErrorCode(String sqlErrorCode)
sqlErrorCode - the SQL Error Code occurred in executing
the querypublic String getSqlErrorMessage()
public void setSqlErrorMessage(String sqlErrorMessage)
|
Anyframe Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||