public class GrouperValidationException extends RuntimeException
Constructor and Description |
---|
GrouperValidationException() |
GrouperValidationException(String message) |
GrouperValidationException(String message,
String theGrouperValidationKey) |
GrouperValidationException(String message,
String theGrouperValidationKey,
Integer theMaxLength,
Integer theCurrentLenth) |
GrouperValidationException(String message,
Throwable cause) |
GrouperValidationException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Integer |
getCurrentLength()
if this is a maxLength exception, this is the current length
|
String |
getGrouperValidationKey()
key for this validation problem, e.g.
|
Integer |
getMaxLength()
if this is a maxLength exception, this is the max length
|
void |
setCurrentLength(Integer currentLength)
if this is a maxLength exception, this is the current length
|
void |
setGrouperValidationKey(String grouperValidationKey1)
key for this validation problem, e.g.
|
void |
setMaxLength(Integer maxLength1)
if this is a maxLength exception, this is the max length
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public GrouperValidationException()
public GrouperValidationException(String message)
message
- public GrouperValidationException(String message, String theGrouperValidationKey)
theGrouperValidationKey
- key for this validation problem, e.g. could be used for a UI message keymessage
- for exceptionpublic GrouperValidationException(String message, String theGrouperValidationKey, Integer theMaxLength, Integer theCurrentLenth)
theGrouperValidationKey
- key for this validation problem, e.g. could be used for a UI message keymessage
- for exceptiontheMaxLength
- if this is a maxLength exception, this is the max lengththeCurrentLenth
- if this is a maxLength exception, this is the current lengthpublic GrouperValidationException(Throwable cause)
cause
- public Integer getCurrentLength()
public void setCurrentLength(Integer currentLength)
currentLength
- the currentLength to setpublic Integer getMaxLength()
public void setMaxLength(Integer maxLength1)
maxLength1
- the maxLength to setpublic String getGrouperValidationKey()
public void setGrouperValidationKey(String grouperValidationKey1)
grouperValidationKey1
- the grouperValidationKey to setCopyright © 2016 Internet2. All rights reserved.