Class SystemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.evolveum.midpoint.util.exception.SystemException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionSystemException
(String message) SystemException
(String message, Throwable throwable) SystemException
(Throwable throwable) -
Method Summary
Modifier and TypeMethodDescriptionstatic SystemException
unexpected
(@NotNull Throwable t) A shortcut used to signal that an exception was really unexpected in the given context.static SystemException
unexpected
(@NotNull Throwable t, String context) A variant ofunexpected(Throwable)
that provides a little bit of context.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SystemException
public SystemException() -
SystemException
-
SystemException
-
SystemException
-
-
Method Details
-
unexpected
A shortcut used to signal that an exception was really unexpected in the given context. It means either a bug, or a problem outside midPoint we cannot do anything with. So it is expected _not_ to be caught and treated in any reasonable way. -
unexpected
A variant ofunexpected(Throwable)
that provides a little bit of context.
-