public final class ErrorMessage extends Object implements Serializable
Constructor and Description |
---|
ErrorMessage(String message)
Creates an ErrorMessage for the given
message . |
ErrorMessage(String message,
Throwable cause)
Creates an ErrorMessage for the given
message and cause . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Throwable |
getCause()
Returns the Throwable that caused the error or
null if no Throwable caused the error. |
String |
getMessage()
Returns the error message.
|
int |
hashCode() |
String |
toString() |
public ErrorMessage(String message)
message
.Copyright © 2011–2024. All rights reserved.