Class MessageBodyProcessingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.ws.rs.ProcessingException
-
- org.glassfish.jersey.message.internal.MessageBodyProcessingException
-
- All Implemented Interfaces:
java.io.Serializable
public class MessageBodyProcessingException extends javax.ws.rs.ProcessingException
Jersey exception signaling that error occurred during reading or writing message body (entity).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description MessageBodyProcessingException(java.lang.String message)
Creates new instance initialized with exception message.MessageBodyProcessingException(java.lang.String message, java.lang.Throwable cause)
Creates new instance initialized with exception message and exception cause.MessageBodyProcessingException(java.lang.Throwable cause)
Creates new instance initialized with exception cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MessageBodyProcessingException
public MessageBodyProcessingException(java.lang.Throwable cause)
Creates new instance initialized with exception cause.- Parameters:
cause
- Exception cause.
-
MessageBodyProcessingException
public MessageBodyProcessingException(java.lang.String message, java.lang.Throwable cause)
Creates new instance initialized with exception message and exception cause.- Parameters:
message
- Message.cause
- Exception cause.
-
MessageBodyProcessingException
public MessageBodyProcessingException(java.lang.String message)
Creates new instance initialized with exception message.- Parameters:
message
- Message.
-
-