Class ThresholdPolicyViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.evolveum.midpoint.util.exception.CommonException
-
- com.evolveum.midpoint.util.exception.PolicyViolationException
-
- com.evolveum.midpoint.util.exception.ThresholdPolicyViolationException
-
- All Implemented Interfaces:
Serializable
public class ThresholdPolicyViolationException extends PolicyViolationException
- Author:
- katka
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.util.exception.CommonException
localizedUserFriendlyMessage, userFriendlyMessage
-
-
Constructor Summary
Constructors Constructor Description ThresholdPolicyViolationException()
ThresholdPolicyViolationException(LocalizableMessage userFriendlyMessage)
ThresholdPolicyViolationException(LocalizableMessage userFriendlyMessage, Throwable cause)
ThresholdPolicyViolationException(String message)
ThresholdPolicyViolationException(String message, Throwable cause)
ThresholdPolicyViolationException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorTypeMessage()
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.CommonException
getLocalizedMessage, getLocalizedUserFriendlyMessage, getMessage, getTechnicalMessage, getUserFriendlyMessage, setLocalizedUserFriendlyMessage, setTechnicalMessage, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ThresholdPolicyViolationException
public ThresholdPolicyViolationException()
-
ThresholdPolicyViolationException
public ThresholdPolicyViolationException(String message)
-
ThresholdPolicyViolationException
public ThresholdPolicyViolationException(LocalizableMessage userFriendlyMessage)
-
ThresholdPolicyViolationException
public ThresholdPolicyViolationException(Throwable cause)
-
ThresholdPolicyViolationException
public ThresholdPolicyViolationException(LocalizableMessage userFriendlyMessage, Throwable cause)
-
-
Method Detail
-
getErrorTypeMessage
public String 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- Overrides:
getErrorTypeMessage
in classPolicyViolationException
-
-