org.glassfish.jersey.message.internal
Class MessageBodyProcessingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ws.rs.ProcessingException
                  extended by 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 (miroslav.fuksa at oracle.com)
See Also:
Serialized Form

Constructor Summary
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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(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.


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.