Class ParseUserNameException

All Implemented Interfaces:
Serializable

public class ParseUserNameException extends IllegalArgumentException
This exception is thrown when there is missing important part after parsing user name. Mandatory parts of user name in perun is "first name" and "last name".
Author:
Michal Stava stavamichal@gmail.com
See Also:
  • Constructor Details

    • ParseUserNameException

      public ParseUserNameException(String message)
      Simple constructor with a message
      Parameters:
      message - message with details about the cause
    • ParseUserNameException

      public ParseUserNameException(String message, String unparsedName)
      Constructor with a message and unparsed user name.
      Parameters:
      message - message with details about the cause
      unparsedName - name in raw format before parsing
  • Method Details

    • getUnparsedName

      public String getUnparsedName()
      Getter for the unparsed name
      Returns:
      unparsed name in raw text format
    • setUnparsedName

      public void setUnparsedName(String unparsedName)
      Setter for the unparsed name
      Parameters:
      unparsed - name in raw text format