|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.weborganic.furi.URITemplateSyntaxException
public class URITemplateSyntaxException
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.
Constructor Summary | |
---|---|
URITemplateSyntaxException(String input,
String reason)
Constructs an instance from the given input string, reason. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public URITemplateSyntaxException(String input, String reason)
input
- The input string.reason
- A string explaining why the input could not be parsed.Method Detail |
---|
public String getInput()
public String getReason()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |