Class CreditorIdentifierFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
fr.marcwrobel.jbanking.creditor.CreditorIdentifierFormatException
All Implemented Interfaces:
Serializable

public class CreditorIdentifierFormatException extends RuntimeException
Thrown to indicate that an attempt has been made to convert a string to a CreditorIdentifier, but that the string does not have the appropriate format.
See Also:
  • Constructor Details

    • CreditorIdentifierFormatException

      public CreditorIdentifierFormatException(String input, String message)
      Constructs a CreditorIdentifierFormatException with the string that caused the error and the given detail message.
      Parameters:
      input - a string
      message - a string
  • Method Details

    • forNotProperlyFormattedInput

      public static CreditorIdentifierFormatException forNotProperlyFormattedInput(String input)
      Creates a CreditorIdentifierFormatException telling the given Creditor Identifier is not properly formatted.
      Parameters:
      input - a string
      Returns:
      a non-null CreditorIdentifierFormatException
    • getInputString

      public String getInputString()
      Returns the input String that caused this exception to be raised.
      Returns:
      a string