Package org.iban4j
Class IbanFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.iban4j.Iban4jException
org.iban4j.IbanFormatException
- All Implemented Interfaces:
Serializable
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:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aIbanFormatExceptionwith no detail message.Constructs aIbanFormatExceptionwith the specified detail message.Constructs aIbanFormatExceptionwith the specified detail message and cause.Constructs aIbanFormatExceptionwith the specified cause.IbanFormatException(IbanFormatException.IbanFormatViolation violation, Object actual, Object expected, String s) Constructs aIbanFormatExceptionwith the specified violation, actual value, expected value and detail message.IbanFormatException(IbanFormatException.IbanFormatViolation violation, Object actual, String s) Constructs aIbanFormatExceptionwith the specified violation, actual value and detail message.IbanFormatException(IbanFormatException.IbanFormatViolation violation, String s) Constructs aIbanFormatExceptionwith the specified violation and detail message.IbanFormatException(IbanFormatException.IbanFormatViolation violation, BbanEntryType entryType, Object actual, char invalidCharacter, String s) Constructs aIbanFormatExceptionwith the specified violation, entryType, actual value, invalidCharacter and detail message. -
Method Summary
Modifier and TypeMethodDescriptioncharMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IbanFormatException
public IbanFormatException()Constructs aIbanFormatExceptionwith no detail message. -
IbanFormatException
Constructs aIbanFormatExceptionwith the specified detail message.- Parameters:
s- the detail message.
-
IbanFormatException
Constructs aIbanFormatExceptionwith the specified detail message and cause.- Parameters:
s- the detail message.t- the cause.
-
IbanFormatException
Constructs aIbanFormatExceptionwith the specified cause.- Parameters:
t- the cause.
-
IbanFormatException
public IbanFormatException(IbanFormatException.IbanFormatViolation violation, Object actual, Object expected, String s) Constructs aIbanFormatExceptionwith 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 aIbanFormatExceptionwith 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 aIbanFormatExceptionwith 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
Constructs aIbanFormatExceptionwith the specified violation and detail message.- Parameters:
violation- the violation.s- the detail message.
-
-
Method Details
-
getFormatViolation
-
getExpected
-
getActual
-
getInvalidCharacter
public char getInvalidCharacter() -
getBbanEntryType
-