Package fr.marcwrobel.jbanking.creditor
Class CreditorIdentifierFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
fr.marcwrobel.jbanking.creditor.CreditorIdentifierFormatException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionCreditorIdentifierFormatException(String input, String message) Constructs aCreditorIdentifierFormatExceptionwith the string that caused the error and the given detail message. -
Method Summary
Modifier and TypeMethodDescriptionCreates aCreditorIdentifierFormatExceptiontelling the given Creditor Identifier is not properly formatted.Returns the input String that caused this exception to be raised.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CreditorIdentifierFormatException
Constructs aCreditorIdentifierFormatExceptionwith the string that caused the error and the given detail message.- Parameters:
input- a stringmessage- a string
-
-
Method Details
-
forNotProperlyFormattedInput
Creates aCreditorIdentifierFormatExceptiontelling the given Creditor Identifier is not properly formatted.- Parameters:
input- a string- Returns:
- a non-null
CreditorIdentifierFormatException
-
getInputString
Returns the input String that caused this exception to be raised.- Returns:
- a string
-