Class IllegalPathException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.restlet.ext.jaxrs.internal.exceptions.JaxRsException
-
- org.restlet.ext.jaxrs.internal.exceptions.IllegalPathException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
IllegalPathOnClassException,IllegalPathOnMethodException
@Deprecated public class IllegalPathException extends JaxRsException
Deprecated.Will be removed in next minor release.This kind of exception is thrown, when an @Pathannotation contains illegal characters.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private javax.ws.rs.PathpathDeprecated.private static longserialVersionUIDDeprecated.
-
Constructor Summary
Constructors Constructor Description IllegalPathException(javax.ws.rs.Path path, java.lang.IllegalArgumentException iae)Deprecated.IllegalPathException(javax.ws.rs.Path path, java.lang.String message)Deprecated.IllegalPathException(javax.ws.rs.Path path, java.lang.String message, java.lang.IllegalArgumentException iae)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private static java.lang.StringcreateMessage(java.lang.IllegalArgumentException iae, javax.ws.rs.Path path)Deprecated.java.lang.IllegalArgumentExceptiongetCause()Deprecated.Returns the causeIllegalArgumentException.javax.ws.rs.PathgetPath()Deprecated.Returns the Illegal Path.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.- See Also:
- Constant Field Values
-
path
private final javax.ws.rs.Path path
Deprecated.
-
-
Constructor Detail
-
IllegalPathException
public IllegalPathException(javax.ws.rs.Path path, java.lang.IllegalArgumentException iae)Deprecated.- Parameters:
path- the invalid pathiae-
-
IllegalPathException
public IllegalPathException(javax.ws.rs.Path path, java.lang.String message)Deprecated.- Parameters:
path-message-
-
IllegalPathException
public IllegalPathException(javax.ws.rs.Path path, java.lang.String message, java.lang.IllegalArgumentException iae)Deprecated.- Parameters:
path-message-iae-
-
-
Method Detail
-
createMessage
private static java.lang.String createMessage(java.lang.IllegalArgumentException iae, javax.ws.rs.Path path)Deprecated.
-
getCause
public java.lang.IllegalArgumentException getCause()
Deprecated.Returns the causeIllegalArgumentException. If not available, it is created.- Overrides:
getCausein classjava.lang.Throwable- See Also:
Throwable.getCause()
-
getPath
public javax.ws.rs.Path getPath()
Deprecated.Returns the Illegal Path.- Returns:
- the Illegal Path.
-
-