Package com.damnhandy.uri.template
Class MalformedUriTemplateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.damnhandy.uri.template.MalformedUriTemplateException
-
- All Implemented Interfaces:
Serializable
public class MalformedUriTemplateException extends RuntimeException
Raised when the the template processor encounters an issue parsing the URI template string. It indicates the either the template itself is malformed, or an expression within the template is malformed.- Since:
- 2.0
- Version:
- $Revision: 1.1 $
- Author:
- Ryan J. McDonough
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MalformedUriTemplateException(String message, int location)
Create a new UriTemplateParseException.MalformedUriTemplateException(String message, int location, Throwable cause)
Create a new UriTemplateParseException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLocation()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MalformedUriTemplateException
public MalformedUriTemplateException(String message, int location, Throwable cause)
Create a new UriTemplateParseException.- Parameters:
message
-cause
-
-
MalformedUriTemplateException
public MalformedUriTemplateException(String message, int location)
Create a new UriTemplateParseException.- Parameters:
message
-
-
-