com.sdm.quasar.client.core.common
Class DisposeException.MessageAndCause

java.lang.Object
  extended bycom.sdm.quasar.client.core.common.DisposeException.MessageAndCause
Enclosing class:
DisposeException

public static class DisposeException.MessageAndCause
extends java.lang.Object

Wrapper class for a message (String) and a cause (Throwable).

Author:
Bernd Olleck, sd&m AG

Constructor Summary
protected DisposeException.MessageAndCause(java.lang.String message, java.lang.Throwable cause)
          Constructor
 
Method Summary
 java.lang.Throwable getCause()
          Returns the cause.
 java.lang.String getMessage()
          Returns the message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisposeException.MessageAndCause

protected DisposeException.MessageAndCause(java.lang.String message,
                                           java.lang.Throwable cause)
Constructor

Parameters:
message - the message, may be null
cause - the cause, may be null
Method Detail

getCause

public java.lang.Throwable getCause()
Returns the cause.

Returns:
the cause, may be null

getMessage

public java.lang.String getMessage()
Returns the message

Returns:
the message, may be null