Package fr.marcwrobel.jbanking.swift
Class SwiftPatternSyntaxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
fr.marcwrobel.jbanking.swift.SwiftPatternSyntaxException
- All Implemented Interfaces:
Serializable
Thrown to indicate a syntax error in a SWIFT expression pattern.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSwiftPatternSyntaxException(String expression, String cause) Constructs aSwiftPatternSyntaxExceptionwith the expression that caused the error and the given detail message describing the cause. -
Method Summary
Modifier and TypeMethodDescriptionReturns the input expression 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
-
SwiftPatternSyntaxException
Constructs aSwiftPatternSyntaxExceptionwith the expression that caused the error and the given detail message describing the cause.- Parameters:
expression- a non-null stringcause- a non-null string
-
-
Method Details
-
getExpression
Returns the input expression that caused this exception to be raised.- Returns:
- a non-null string
-