Class GestaltException

    • Constructor Summary

      Constructors 
      Constructor Description
      GestaltException​(java.lang.Exception e)
      Create GestaltException with an exception.
      GestaltException​(java.lang.String message)
      Create GestaltException with a message.
      GestaltException​(java.lang.String message, java.lang.Exception e)
      Create GestaltException with a message and exception.
      GestaltException​(java.lang.String message, java.util.List<ValidationError> errors)
      Create GestaltException with a list of validation errors and a message.
      GestaltException​(java.util.List<GestaltException> exceptions)
      Create GestaltException with a list of exceptions to wrap.
    • 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

      • GestaltException

        public GestaltException​(java.lang.String message)
        Create GestaltException with a message.
        Parameters:
        message - message for the exception
      • GestaltException

        public GestaltException​(java.lang.Exception e)
        Create GestaltException with an exception.
        Parameters:
        e - Exception to wrap
      • GestaltException

        public GestaltException​(java.lang.String message,
                                java.lang.Exception e)
        Create GestaltException with a message and exception.
        Parameters:
        message - message for the exception
        e - Exception to wrap
      • GestaltException

        public GestaltException​(java.lang.String message,
                                java.util.List<ValidationError> errors)
        Create GestaltException with a list of validation errors and a message.
        Parameters:
        message - message for the exception
        errors - list of validation errors
      • GestaltException

        public GestaltException​(java.util.List<GestaltException> exceptions)
        Create GestaltException with a list of exceptions to wrap.
        Parameters:
        exceptions - list of exceptions to wrap