Class MaintenanceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.evolveum.midpoint.util.exception.CommonException
com.evolveum.midpoint.util.exception.CommunicationException
com.evolveum.midpoint.util.exception.MaintenanceException
- All Implemented Interfaces:
Serializable
May happen in case that resource is administratively set to maintenance mode.
- Author:
- Martin Lizner
- 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
ConstructorsConstructorDescriptionMaintenanceException(LocalizableMessage userFriendlyMessage) MaintenanceException(LocalizableMessage userFriendlyMessage, Throwable cause) MaintenanceException(String message) MaintenanceException(String message, Throwable cause) MaintenanceException(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, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
MaintenanceException
public MaintenanceException() -
MaintenanceException
-
MaintenanceException
-
MaintenanceException
-
MaintenanceException
-
MaintenanceException
-
-
Method Details
-
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- Overrides:
getErrorTypeMessagein classCommunicationException
-