Package org.modelmapper
Class ConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.modelmapper.ConfigurationException
-
- All Implemented Interfaces:
Serializable
public class ConfigurationException extends RuntimeException
Thrown when invalid configuration is detected.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException(List<ErrorMessage> messages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ErrorMessage>
getErrorMessages()
Returns messages for the errors that caused this exception.String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConfigurationException
public ConfigurationException(List<ErrorMessage> messages)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getErrorMessages
public Collection<ErrorMessage> getErrorMessages()
Returns messages for the errors that caused this exception.
-
-