Class MessageBodyProcessingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.ws.rs.ProcessingException
-
- org.glassfish.jersey.message.internal.MessageBodyProcessingException
-
- All Implemented Interfaces:
Serializable
public class MessageBodyProcessingException extends ProcessingException
Jersey exception signaling that error occurred during reading or writing message body (entity).- Author:
- Miroslav Fuksa
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessageBodyProcessingException(String message)Creates new instance initialized with exception message.MessageBodyProcessingException(String message, Throwable cause)Creates new instance initialized with exception message and exception cause.MessageBodyProcessingException(Throwable cause)Creates new instance initialized with exception cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MessageBodyProcessingException
public MessageBodyProcessingException(Throwable cause)
Creates new instance initialized with exception cause.- Parameters:
cause- Exception cause.
-
MessageBodyProcessingException
public MessageBodyProcessingException(String message, Throwable cause)
Creates new instance initialized with exception message and exception cause.- Parameters:
message- Message.cause- Exception cause.
-
MessageBodyProcessingException
public MessageBodyProcessingException(String message)
Creates new instance initialized with exception message.- Parameters:
message- Message.
-
-