Package org.ow2.authzforce.jaxrs.util
Class JaxbErrorMessage
- java.lang.Object
-
- org.ow2.authzforce.jaxrs.util.JaxbErrorMessage
-
public class JaxbErrorMessage extends Object
JAXB-annotated class representing error message
-
-
Field Summary
Fields Modifier and Type Field Description protected JaxbErrorMessagecauseprotected Stringmessage
-
Constructor Summary
Constructors Constructor Description JaxbErrorMessage()Required no-arg constructorJaxbErrorMessage(String message, JaxbErrorMessage cause)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JaxbErrorMessagegetCause()Gets the value of the cause property.StringgetMessage()Gets the value of the message property.
-
-
-
Field Detail
-
message
protected String message
-
cause
protected JaxbErrorMessage cause
-
-
Constructor Detail
-
JaxbErrorMessage
public JaxbErrorMessage(String message, JaxbErrorMessage cause)
Fully-initialising value constructor- Parameters:
message- error messagecause- optional cause for the error
-
JaxbErrorMessage
public JaxbErrorMessage()
Required no-arg constructor
-
-
Method Detail
-
getMessage
public String getMessage()
Gets the value of the message property.- Returns:
- possible object is
String
-
getCause
public JaxbErrorMessage getCause()
Gets the value of the cause property.- Returns:
- possible object is
JaxbErrorMessage
-
-