public class DataViolationException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
protected String |
exceptionKey
Exception key message;
|
Constructor and Description |
---|
DataViolationException(String message,
String exceptionKey)
Constructor with text message.
|
DataViolationException(String message,
String exceptionKey,
Throwable cause)
Constructor with text message and cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getExceptionKey()
Get exception key.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected String exceptionKey
public DataViolationException(String message, String exceptionKey)
message
- text messageexceptionKey
- exception keypublic String getExceptionKey()
Copyright © 2007–2013 CodeLutin. All rights reserved.