Class CommunicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.evolveum.midpoint.util.exception.CommonException
com.evolveum.midpoint.util.exception.CommunicationException
- All Implemented Interfaces:
ExceptionContextAware,SeverityAwareException,Serializable
- Direct Known Subclasses:
MaintenanceException
Generic communication exception.
May happen in case of various network communication errors, including
(but not limited to) connection refused and timeouts.
TODO
- Author:
- Radovan Semancik
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.util.exception.SeverityAwareException
SeverityAwareException.Severity -
Field Summary
Fields inherited from class com.evolveum.midpoint.util.exception.CommonException
localizedUserFriendlyMessage, userFriendlyMessage -
Constructor Summary
ConstructorsConstructorDescriptionCommunicationException(LocalizableMessage userFriendlyMessage) CommunicationException(LocalizableMessage userFriendlyMessage, Throwable cause) CommunicationException(String message) CommunicationException(String message, Throwable cause) CommunicationException(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
getContext, getLocalizedMessage, getLocalizedUserFriendlyMessage, getMessage, getTechnicalMessage, getUserFriendlyMessage, setLocalizedUserFriendlyMessage, setTechnicalMessage, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.exception.SeverityAwareException
getSeverity
-
Constructor Details
-
CommunicationException
public CommunicationException() -
CommunicationException
-
CommunicationException
-
CommunicationException
-
CommunicationException
-
CommunicationException
-
-
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- Specified by:
getErrorTypeMessagein classCommonException
-