|
||||||||||
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
ccc.api.exceptions.CCException
ccc.api.exceptions.InvalidException
public class InvalidException
This request indicates that an API method was invoked with incorrect inputs.
Field Summary | |
---|---|
static java.lang.String |
RESOLUTION
RESOLUTION : String. |
static java.lang.String |
RESOURCE
RESOURCE : String. |
Fields inherited from class ccc.api.exceptions.CCException |
---|
MESSAGE |
Constructor Summary | |
---|---|
InvalidException()
Constructor. |
|
InvalidException(java.lang.String message)
Constructor. |
|
InvalidException(java.lang.String message,
java.util.Map<java.lang.String,java.lang.String> params)
Constructor. |
|
InvalidException(java.lang.String message,
java.lang.Throwable cause)
Constructor. |
Method Summary | |
---|---|
java.util.UUID |
getResource()
Accessor for the resource. |
void |
setResolution(java.lang.String resolution)
Mutator for the resolution. |
Methods inherited from class ccc.api.exceptions.CCException |
---|
addParam, getFailure, getMessage, getParam, setId, setParams |
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 |
---|
public static final java.lang.String RESOURCE
public static final java.lang.String RESOLUTION
Constructor Detail |
---|
public InvalidException()
public InvalidException(java.lang.String message)
message
- Description of the exception.public InvalidException(java.lang.String message, java.lang.Throwable cause)
message
- Description of the exception.cause
- The cause of this exception.public InvalidException(java.lang.String message, java.util.Map<java.lang.String,java.lang.String> params)
message
- Description of the exception.params
- Further details describing the exception.Method Detail |
---|
public java.util.UUID getResource()
public void setResolution(java.lang.String resolution)
resolution
- The resolution for this exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |