public class InvalidRequestException extends InputException
This class represents the exception thrown when an invalid request is being attempted.
In invalid request falls in the following categories:
Constructor and Description |
---|
InvalidRequestException()
Default Constructor.
|
InvalidRequestException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText)
Constructor with localized message.
|
InvalidRequestException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText, java.lang.Throwable exception)
Constructor with a localized message and a chained exception.
|
InvalidRequestException(java.lang.Throwable exception)
Constructor with a chained exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | dumpException()
This method dumps this exception to a String.
|
java.lang.String | getFailedRequest()
This method returns the request that could not be executed because the target object was canceled.
|
java.lang.String | getObjectId()
This method returns the unique identifier of the canceled object.
|
java.lang.String | getObjectType()
This method returns the type of the canceled object.
|
void | setFailedRequest(java.lang.String localFailedRequest)
This method sets the request that could not be executed because the target object was canceled.
|
void | setObjectId(java.lang.String localObjectId)
This method sets the unique identifier of the canceled object.
|
void | setObjectType(java.lang.String localObjectType)
This method sets the type of the canceled object.
|
public InvalidRequestException()
Default Constructor.
public InvalidRequestException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText)
Constructor with localized message.
public InvalidRequestException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText, java.lang.Throwable exception)
Constructor with a localized message and a chained exception.
public InvalidRequestException(java.lang.Throwable exception)
Constructor with a chained exception.
public void setFailedRequest(java.lang.String localFailedRequest)
This method sets the request that could not be executed because the target object was canceled.
public java.lang.String getFailedRequest()
This method returns the request that could not be executed because the target object was canceled.
public void setObjectId(java.lang.String localObjectId)
This method sets the unique identifier of the canceled object.
public java.lang.String getObjectId()
This method returns the unique identifier of the canceled object.
public void setObjectType(java.lang.String localObjectType)
This method sets the type of the canceled object.
public java.lang.String getObjectType()
This method returns the type of the canceled object.
public java.lang.String dumpException()