Package org.iban4j

Class IbanFormatException

All Implemented Interfaces:
Serializable

public class IbanFormatException extends Iban4jException
Thrown to indicate that the application has attempted to convert a string to Iban, but that the string does not have the appropriate format.
See Also:
  • Constructor Details

    • IbanFormatException

      public IbanFormatException()
      Constructs a IbanFormatException with no detail message.
    • IbanFormatException

      public IbanFormatException(String s)
      Constructs a IbanFormatException with the specified detail message.
      Parameters:
      s - the detail message.
    • IbanFormatException

      public IbanFormatException(String s, Throwable t)
      Constructs a IbanFormatException with the specified detail message and cause.
      Parameters:
      s - the detail message.
      t - the cause.
    • IbanFormatException

      public IbanFormatException(Throwable t)
      Constructs a IbanFormatException with the specified cause.
      Parameters:
      t - the cause.
    • IbanFormatException

      public IbanFormatException(IbanFormatException.IbanFormatViolation violation, Object actual, Object expected, String s)
      Constructs a IbanFormatException with the specified violation, actual value, expected value and detail message.
      Parameters:
      violation - the violation.
      actual - the actual value.
      expected - the expected value.
      s - the detail message.
    • IbanFormatException

      public IbanFormatException(IbanFormatException.IbanFormatViolation violation, Object actual, String s)
      Constructs a IbanFormatException with the specified violation, actual value and detail message.
      Parameters:
      violation - the violation.
      actual - the actual value.
      s - the detail message.
    • IbanFormatException

      public IbanFormatException(IbanFormatException.IbanFormatViolation violation, BbanEntryType entryType, Object actual, char invalidCharacter, String s)
      Constructs a IbanFormatException with the specified violation, entryType, actual value, invalidCharacter and detail message.
      Parameters:
      violation - the violation.
      entryType - the bban entry type.
      actual - the actual value.
      invalidCharacter - the invalid character.
      s - the detail message.
    • IbanFormatException

      public IbanFormatException(IbanFormatException.IbanFormatViolation violation, String s)
      Constructs a IbanFormatException with the specified violation and detail message.
      Parameters:
      violation - the violation.
      s - the detail message.
  • Method Details