Package org.modelmapper.spi
Class ErrorMessage
- java.lang.Object
-
- org.modelmapper.spi.ErrorMessage
-
- All Implemented Interfaces:
Serializable
public final class ErrorMessage extends Object implements Serializable
An error message.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorMessage(String message)
Creates an ErrorMessage for the givenmessage
.ErrorMessage(String message, Throwable cause)
Creates an ErrorMessage for the givenmessage
andcause
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Throwable
getCause()
Returns the Throwable that caused the error ornull
if no Throwable caused the error.String
getMessage()
Returns the error message.int
hashCode()
String
toString()
-