Class AccessDeniedGlobalPrivilegeMissingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.redwood.scheduler.infrastructure.exception.BaseSchedulerException
-
- com.redwood.scheduler.infrastructure.exception.SchedulerException
-
- com.redwood.scheduler.api.exception.SchedulerAPIException
-
- com.redwood.scheduler.api.exception.AccessDeniedGlobalPrivilegeMissingException
-
- All Implemented Interfaces:
ExceptionData
,Serializable
@Generated("build/redwood/jbs/generated-exceptions/Exceptions.java.tmpl") public class AccessDeniedGlobalPrivilegeMissingException extends com.redwood.scheduler.api.exception.SchedulerAPIException
This exception is raised when a global privilege is required to access a resource, but it is not granted.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AccessDeniedGlobalPrivilegeMissingException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
AccessDeniedGlobalPrivilegeMissingException(Throwable cause, String resourceName, String requiredPrivilegeName)
This exception is raised when a global privilege is required to access a resource, but it is not granted.
-
Method Summary
-
Methods inherited from class com.redwood.scheduler.infrastructure.exception.BaseSchedulerException
bestException, getDefaultMessageFormat, getErrorCode, getExceptionData, getLocalizedMessage, getLocalizedMessage, getMessage, getTranslation, isSystemLoggable, skipException, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
AccessDeniedGlobalPrivilegeMissingException
protected AccessDeniedGlobalPrivilegeMissingException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
-
AccessDeniedGlobalPrivilegeMissingException
public AccessDeniedGlobalPrivilegeMissingException(Throwable cause, String resourceName, String requiredPrivilegeName)
This exception is raised when a global privilege is required to access a resource, but it is not granted.- Parameters:
cause
- The originating exception, null if this is the originating exceptionresourceName
- The name of the resource trying to be accessed.requiredPrivilegeName
- Global privilege that is require to access this resource.
-
-