public class UserNotAuthorizedException extends SubjectAreaCheckedException
| Constructor and Description |
|---|
UserNotAuthorizedException(ExceptionMessageDefinition messageDefinition,
String className,
String actionDescription,
String userId)
This is the typical constructor used for creating an UserNotAuthorizedException
|
UserNotAuthorizedException(ExceptionMessageDefinition messageDefinition,
String className,
String actionDescription,
Throwable caughtError,
String userId)
This is the constructor used for creating an UserNotAuthorizedException when an unexpected error has been caught.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getUserId() |
toStringequals, getErrorMessage, getRelatedProperties, getReportedCaughtException, getReportedCaughtExceptionClassName, getReportedErrorMessage, getReportedErrorMessageId, getReportedErrorMessageParameters, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic UserNotAuthorizedException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, String userId)
messageDefinition - content of the messageclassName - name of class reporting erroractionDescription - description of function it was performing when error detecteduserId - userId associated with this Exceptionpublic UserNotAuthorizedException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError, String userId)
messageDefinition - content of the messageclassName - name of class reporting erroractionDescription - description of function it was performing when error detectedcaughtError - previous error causing this exceptionuserId - userId associated with this Exceptionpublic String getUserId()
Copyright © 2018–2020 ODPi. All rights reserved.