Class 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.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.