com.bea.tuxedo.control
Class TuxedoControlException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.beehive.controls.api.ControlException
                  extended by com.bea.tuxedo.control.TuxedoControlException
All Implemented Interfaces:
Serializable

public final class TuxedoControlException
extends ControlException

Extension of the ControlException in order to retrieve the results of the invocation in those cases where the call fails but meaningful data may still have been returned.

See Also:
Serialized Form

Constructor Summary
TuxedoControlException(String message, Object result, Throwable t)
          Constructs a TuxedoControlException using a specified message, a result Object and a nested Throwable.
 
Method Summary
 Object getMethodResult()
          Retrieves the result Object embedded in this exception.
 
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

TuxedoControlException

public TuxedoControlException(String message,
                              Object result,
                              Throwable t)
Constructs a TuxedoControlException using a specified message, a result Object and a nested Throwable.

Parameters:
message - The message to use.
result - The result object to embed.
t - The exception to nest.
Method Detail

getMethodResult

public Object getMethodResult()
Retrieves the result Object embedded in this exception.

Returns:
The method invocation result object.