public class InvalidModificationException extends Exception
Constructor and Description |
---|
InvalidModificationException()
Default constructor.
|
InvalidModificationException(Exception cause)
Constructor with a cause.
|
InvalidModificationException(Exception cause,
Map<String,Errors> fields)
Constructor with cause and error fields
|
InvalidModificationException(Map<String,Errors> fields)
Constructor with error fields
|
InvalidModificationException(String message)
Constructor with a message.
|
InvalidModificationException(String message,
Exception cause)
Constructor with a message and a cause.
|
InvalidModificationException(String message,
Exception cause,
Map<String,Errors> fields)
Constructor with a message, a cause and a set of error fields
|
InvalidModificationException(String message,
Map<String,Errors> fields)
Constructor with a message and error fields
|
Modifier and Type | Method and Description |
---|---|
Map<String,Errors> |
getFieldErrors()
Get the error fields
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidModificationException()
public InvalidModificationException(Map<String,Errors> fields)
fields
- The fields is having errorspublic InvalidModificationException(String message)
message
- The message.public InvalidModificationException(String message, Map<String,Errors> fields)
message
- the messagefields
- The fields is having errorspublic InvalidModificationException(Exception cause)
cause
- The cause.public InvalidModificationException(Exception cause, Map<String,Errors> fields)
cause
- the causefields
- The fields is having errorspublic InvalidModificationException(String message, Exception cause)
message
- The message.cause
- The cause.public String getMessage()
getMessage
in class Throwable
public Map<String,Errors> getFieldErrors()