Package com.sas.services.events.broker

# Class MessageBodyConversionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.services.events.broker.MessageBodyConversionException

All Implemented Interfaces:
  `Serializable`

public class MessageBodyConversionException extends Exception
A MessageBodyConversionException is thrown when a problem occurs during conversion from one format to another.

## Usage

This type of exception can occur in a user process node "plug-in" when trying to obtain the body of a message as a `document fragment` or as a `string`.

Since:
  1.0
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MessageBodyConversionException()`
  Constructs an exception used to represent a problem converting a message body.
  `MessageBodyConversionException(String msg)`
  Constructs an exception used to represent a problem converting a message body using the specified message.

- ## 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 Details

  - ### MessageBodyConversionException

    public MessageBodyConversionException()
    Constructs an exception used to represent a problem converting a message body.

  - ### MessageBodyConversionException

    public MessageBodyConversionException(String msg)
    Constructs an exception used to represent a problem converting a message body using the specified message.
    Parameters:
      `msg` - Message detailing why the message body could not be converted.