- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.github.gestalt.config.exceptions.GestaltException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
GestaltConfigurationException
public class GestaltException extends java.lang.ExceptionException from Gestalt.- See Also:
- Serialized Form
-
-
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.
-
-
-
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 exceptione- 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 exceptionerrors- 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
-
-