Class GrouperValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.internet2.middleware.grouper.exception.GrouperValidationException
All Implemented Interfaces:
Serializable

public class GrouperValidationException extends RuntimeException
validation problem for grouper action, has a validation key which could be used for a UI key
See Also:
  • Constructor Details

    • GrouperValidationException

      public GrouperValidationException()
    • GrouperValidationException

      public GrouperValidationException(String message)
      Parameters:
      message -
    • GrouperValidationException

      public GrouperValidationException(String message, String theGrouperValidationKey)
      Parameters:
      theGrouperValidationKey - key for this validation problem, e.g. could be used for a UI message key
      message - for exception
    • GrouperValidationException

      public GrouperValidationException(String message, String theGrouperValidationKey, Integer theMaxLength, Integer theCurrentLenth)
      Parameters:
      theGrouperValidationKey - key for this validation problem, e.g. could be used for a UI message key
      message - for exception
      theMaxLength - if this is a maxLength exception, this is the max length
      theCurrentLenth - if this is a maxLength exception, this is the current length
    • GrouperValidationException

      public GrouperValidationException(Throwable cause)
      Parameters:
      cause -
    • GrouperValidationException

      public GrouperValidationException(String message, Throwable cause)
      Parameters:
      message -
      cause -
  • Method Details

    • getCurrentLength

      public Integer getCurrentLength()
      if this is a maxLength exception, this is the current length
      Returns:
      the currentLength
    • setCurrentLength

      public void setCurrentLength(Integer currentLength)
      if this is a maxLength exception, this is the current length
      Parameters:
      currentLength - the currentLength to set
    • getMaxLength

      public Integer getMaxLength()
      if this is a maxLength exception, this is the max length
      Returns:
      the maxLength
    • setMaxLength

      public void setMaxLength(Integer maxLength1)
      if this is a maxLength exception, this is the max length
      Parameters:
      maxLength1 - the maxLength to set
    • getGrouperValidationKey

      public String getGrouperValidationKey()
      key for this validation problem, e.g. could be used for a UI message key
      Returns:
      the grouperValidationKey
    • setGrouperValidationKey

      public void setGrouperValidationKey(String grouperValidationKey1)
      key for this validation problem, e.g. could be used for a UI message key
      Parameters:
      grouperValidationKey1 - the grouperValidationKey to set