org.clazzes.remoting.cmd
Class InvocationExceptionCmd

java.lang.Object
  extended by org.clazzes.remoting.cmd.Cmd
      extended by org.clazzes.remoting.cmd.InvocationExceptionCmd
All Implemented Interfaces:
java.io.Serializable

public class InvocationExceptionCmd
extends Cmd

A command that is sent, when an invocation raised an exception.

Author:
wglas
See Also:
Serialized Form

Constructor Summary
InvocationExceptionCmd(java.lang.Throwable excpetion)
           
 
Method Summary
 void accept(CmdVisitor visitor)
           
 java.lang.Throwable getException()
           
 
Methods inherited from class org.clazzes.remoting.cmd.Cmd
acceptCmd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationExceptionCmd

public InvocationExceptionCmd(java.lang.Throwable excpetion)
Parameters:
excpetion - The exception raised by an invocation.
Method Detail

getException

public java.lang.Throwable getException()
Returns:
The result of an invocation.

accept

public void accept(CmdVisitor visitor)
Specified by:
accept in class Cmd
Parameters:
visitor - The visitor representing a polymorphic operation on the command.


Copyright © 2010. All Rights Reserved.