Package org.iban4j
Class BicFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.iban4j.Iban4jException
org.iban4j.BicFormatException
- All Implemented Interfaces:
Serializable
Thrown to indicate that the application has attempted to convert
a string to Bic or to validate Bic's string representation, but the string does not
have the appropriate format.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aBicFormatExceptionwith no detail message.Constructs aBicFormatExceptionwith the specified detail message.Constructs aBicFormatExceptionwith the specified detail message and cause.Constructs aBicFormatExceptionwith the specified cause.BicFormatException(BicFormatException.BicFormatViolation violation, Object actual, Object expected, String s) Constructs aBicFormatExceptionwith the specified violation, actual value, expected value and detail message.BicFormatException(BicFormatException.BicFormatViolation violation, Object actual, String s) Constructs aBicFormatExceptionwith the specified violation, actual value and detail message.BicFormatException(BicFormatException.BicFormatViolation violation, String s) Constructs aBicFormatExceptionwith the specified violation and detail message. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BicFormatException
public BicFormatException()Constructs aBicFormatExceptionwith no detail message. -
BicFormatException
Constructs aBicFormatExceptionwith the specified detail message.- Parameters:
s- the detail message.
-
BicFormatException
Constructs aBicFormatExceptionwith the specified detail message and cause.- Parameters:
s- the detail message.t- the cause.
-
BicFormatException
public BicFormatException(BicFormatException.BicFormatViolation violation, Object actual, Object expected, String s) Constructs aBicFormatExceptionwith 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.
-
BicFormatException
Constructs aBicFormatExceptionwith the specified violation and detail message.- Parameters:
violation- the violation.s- the detail message.
-
BicFormatException
Constructs aBicFormatExceptionwith the specified violation, actual value and detail message.- Parameters:
violation- the violation.actual- the actual value.s- the detail message.
-
BicFormatException
Constructs aBicFormatExceptionwith the specified cause.- Parameters:
t- the cause.
-
-
Method Details
-
getFormatViolation
-
getExpected
-
getActual
-