org.mule.module.apikit.uri
Class URITemplateSyntaxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.mule.module.apikit.uri.URITemplateSyntaxException
- All Implemented Interfaces:
- Serializable
public class URITemplateSyntaxException
- extends IllegalArgumentException
Thrown to indicate that a URI Template or URI Template fragment does not follow the appropriate
syntax.
This exception would typically be used for errors when parsing an expression supposed to follow
the URI template syntax.
- Version:
- 31 December 2008
- Author:
- Christophe Lauret
- See Also:
- Serialized Form
|
Method Summary |
String |
getInput()
Returns the input string. |
String |
getReason()
Returns the reason explaining why the input string could not be parsed. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
URITemplateSyntaxException
public URITemplateSyntaxException(String input,
String reason)
- Constructs an instance from the given input string, reason.
- Parameters:
input - The input string.reason - A string explaining why the input could not be parsed.
getInput
public String getInput()
- Returns the input string.
- Returns:
- The input string.
getReason
public String getReason()
- Returns the reason explaining why the input string could not be parsed.
- Returns:
- The reason string.
Copyright © 2013. All rights reserved.