Class SwiftPatternSyntaxException

All Implemented Interfaces:
Serializable

public class SwiftPatternSyntaxException extends IllegalArgumentException
Thrown to indicate a syntax error in a SWIFT expression pattern.
Since:
1.0
See Also:
  • Constructor Details

    • SwiftPatternSyntaxException

      public SwiftPatternSyntaxException(String expression, String cause)
      Constructs a SwiftPatternSyntaxException with the expression that caused the error and the given detail message describing the cause.
      Parameters:
      expression - a non-null string
      cause - a non-null string
  • Method Details

    • getExpression

      public String getExpression()
      Returns the input expression that caused this exception to be raised.
      Returns:
      a non-null string