public class UnrecognizedGUIDException extends ProjectManagementCheckedExceptionBase
| Constructor and Description |
|---|
UnrecognizedGUIDException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
String expectedTypeName,
String guid)
This is the typical constructor used for creating an exception.
|
UnrecognizedGUIDException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable caughtError,
String expectedTypeName,
String guid)
This is the constructor used for creating an exception that resulted from a previous error.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
String |
getExpectedTypeName()
Return the type name of the element expected to be retrieved.
|
String |
getGUID()
Return the guid supplied on the request that failed.
|
int |
hashCode()
Return hash code for this object
|
String |
toString()
JSON-style toString
|
getErrorMessage, getReportedCaughtException, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassNameaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic UnrecognizedGUIDException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
String expectedTypeName,
String guid)
httpCode - http response code to use if this exception flows over a rest callclassName - name of class reporting erroractionDescription - description of function it was performing when error detectederrorMessage - description of errorsystemAction - actions of the system as a result of the erroruserAction - instructions for correcting the errorexpectedTypeName - the expect type of the metadata element that corresponds to the guidguid - the supplied guid that is in errorpublic UnrecognizedGUIDException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable caughtError,
String expectedTypeName,
String guid)
httpCode - - http response code to use if this exception flows over a rest callclassName - - name of class reporting erroractionDescription - - description of function it was performing when error detectederrorMessage - - description of errorsystemAction - - actions of the system as a result of the erroruserAction - - instructions for correcting the errorcaughtError - - the error that resulted in this exception.public String getExpectedTypeName()
public String getGUID()
public String toString()
public boolean equals(Object objectToCompare)
equals in class ProjectManagementCheckedExceptionBaseobjectToCompare - test objectpublic int hashCode()
hashCode in class ProjectManagementCheckedExceptionBaseCopyright © 2018 ODPi. All rights reserved.