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
 
 public class SecurityViolationException extends CommonException Exception indicating violation of security policies. It is SecurityViolationException to avoid confusion with java.lang.SecurityException- Author:
- Radovan Semancik
- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class com.evolveum.midpoint.util.exception.CommonExceptionlocalizedUserFriendlyMessage, userFriendlyMessage
 
- 
 - 
Constructor SummaryConstructors Constructor Description SecurityViolationException()SecurityViolationException(LocalizableMessage userFriendlyMessage)SecurityViolationException(LocalizableMessage userFriendlyMessage, Throwable cause)SecurityViolationException(String message)SecurityViolationException(String message, Throwable cause)SecurityViolationException(Throwable cause)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorTypeMessage()Returns 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.CommonExceptiongetLocalizedMessage, getLocalizedUserFriendlyMessage, getMessage, getTechnicalMessage, getUserFriendlyMessage, setLocalizedUserFriendlyMessage, setTechnicalMessage, toString
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
- 
 
- 
- 
- 
Constructor Detail- 
SecurityViolationExceptionpublic SecurityViolationException() 
 - 
SecurityViolationExceptionpublic SecurityViolationException(String message) 
 - 
SecurityViolationExceptionpublic SecurityViolationException(LocalizableMessage userFriendlyMessage) 
 - 
SecurityViolationExceptionpublic SecurityViolationException(Throwable cause) 
 - 
SecurityViolationExceptionpublic SecurityViolationException(LocalizableMessage userFriendlyMessage, Throwable cause) 
 
- 
 - 
Method Detail- 
getErrorTypeMessagepublic String getErrorTypeMessage() Description copied from class:CommonExceptionReturns 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:
- getErrorTypeMessagein class- CommonException
 
 
- 
 
-