Package org.ow2.authzforce.jaxrs.util
Class JaxbErrorMessage
java.lang.Object
org.ow2.authzforce.jaxrs.util.JaxbErrorMessage
JAXB-annotated class representing error message
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRequired no-arg constructorJaxbErrorMessage(String message, JaxbErrorMessage cause) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptiongetCause()Gets the value of the cause property.Gets the value of the message property.
-
Field Details
-
message
-
cause
-
-
Constructor Details
-
JaxbErrorMessage
Fully-initialising value constructor- Parameters:
message- error messagecause- optional cause for the error
-
JaxbErrorMessage
public JaxbErrorMessage()Required no-arg constructor
-
-
Method Details
-
getMessage
Gets the value of the message property.- Returns:
- possible object is
String
-
getCause
Gets the value of the cause property.- Returns:
- possible object is
JaxbErrorMessage
-