Class SystemException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.evolveum.midpoint.util.exception.SystemException
All Implemented Interfaces:
Serializable

public class SystemException extends RuntimeException
See Also:
  • Constructor Details

    • SystemException

      public SystemException()
    • SystemException

      public SystemException(String message)
    • SystemException

      public SystemException(Throwable throwable)
    • SystemException

      public SystemException(String message, Throwable throwable)
  • Method Details

    • unexpected

      public static SystemException unexpected(@NotNull @NotNull Throwable t)
      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

      public static SystemException unexpected(@NotNull @NotNull Throwable t, String context)
      A variant of unexpected(Throwable) that provides a little bit of context.