WebLogic Messaging API Class Library |

# MessageException Constructor (String, Exception)

Constructs a `MessageException` with the specified reason and with the error code defaulting to null.

public MessageException(
String reason,
Exception innerException
);

#### Parameters

String
  a description of the exception
Exception
  exception that caused this error or related to this error

#### See Also

MessageException Class | WebLogic.Messaging Namespace | MessageException Constructor Overload List