Class FriendlyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FriendlyException
    extends java.lang.RuntimeException
    An exception with a friendly message.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FriendlyException.Severity
      Severity levels for FriendlyException
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FriendlyException

        public FriendlyException​(java.lang.String friendlyMessage,
                                 FriendlyException.Severity severity,
                                 java.lang.Throwable cause)
        Parameters:
        friendlyMessage - A message which is understandable to end-users
        severity - Severity of the exception
        cause - The cause of the exception with technical details