Class OntopiaRestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.ontopia.topicmaps.rest.exceptions.OntopiaRestException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OntopiaClientException
,OntopiaServerException
public class OntopiaRestException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OntopiaRestException(OntopiaRestErrors error, Object... parameters)
OntopiaRestException(OntopiaRestErrors error, Throwable cause, Object... parameters)
OntopiaRestException(org.restlet.data.Status status)
OntopiaRestException(org.restlet.data.Status status, String description)
OntopiaRestException(org.restlet.data.Status status, String description, Throwable cause)
OntopiaRestException(org.restlet.data.Status status, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOntopiaCode()
org.restlet.data.Status
getStatus()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OntopiaRestException
public OntopiaRestException(OntopiaRestErrors error, Object... parameters)
-
OntopiaRestException
public OntopiaRestException(OntopiaRestErrors error, Throwable cause, Object... parameters)
-
OntopiaRestException
public OntopiaRestException(org.restlet.data.Status status)
-
OntopiaRestException
public OntopiaRestException(org.restlet.data.Status status, String description)
-
OntopiaRestException
public OntopiaRestException(org.restlet.data.Status status, String description, Throwable cause)
-
OntopiaRestException
public OntopiaRestException(org.restlet.data.Status status, Throwable cause)
-
-