Class SecurityViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.evolveum.midpoint.util.exception.CommonException
com.evolveum.midpoint.util.exception.SecurityViolationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthorizationException
,NotLoggedInException
Exception indicating violation of security policies.
It is SecurityViolationException to avoid confusion with java.lang.SecurityException
- Author:
- Radovan Semancik
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.util.exception.CommonException
CommonException.Severity
-
Field Summary
Fields inherited from class com.evolveum.midpoint.util.exception.CommonException
localizedUserFriendlyMessage, userFriendlyMessage
-
Constructor Summary
ConstructorDescriptionSecurityViolationException
(LocalizableMessage userFriendlyMessage) SecurityViolationException
(LocalizableMessage userFriendlyMessage, Throwable cause) SecurityViolationException
(String message) SecurityViolationException
(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReturns a human-readable message that describes the type or class of errors that the exception represents.Methods inherited from class com.evolveum.midpoint.util.exception.CommonException
getLocalizedMessage, getLocalizedUserFriendlyMessage, getMessage, getSeverity, getTechnicalMessage, getUserFriendlyMessage, setLocalizedUserFriendlyMessage, setTechnicalMessage, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SecurityViolationException
public SecurityViolationException() -
SecurityViolationException
-
SecurityViolationException
-
SecurityViolationException
-
SecurityViolationException
-
SecurityViolationException
-
-
Method Details
-
getErrorTypeMessage
Description copied from class:CommonException
Returns a human-readable message that describes the type or class of errors that the exception represents. E.g. "Communication error", "Policy violation", etc. TODO: switch return value to a localized message- Specified by:
getErrorTypeMessage
in classCommonException
-