net.sf.excha.demo
Class SmartFoo

java.lang.Object
  extended by net.sf.excha.demo.SmartFoo
All Implemented Interfaces:
Foo

public class SmartFoo
extends java.lang.Object
implements Foo


Constructor Summary
SmartFoo()
           
 
Method Summary
 void callsMethod1ThanCanThrowException(java.lang.String arg1)
           
 void callsMethod2ThanCanThrowException(java.lang.String arg1, java.lang.String arg2)
           
 void callToMethodThatCanThrowTimeoutExcepption(java.lang.String arg1, java.lang.String arg2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartFoo

public SmartFoo()
Method Detail

callsMethod1ThanCanThrowException

public void callsMethod1ThanCanThrowException(java.lang.String arg1)
Specified by:
callsMethod1ThanCanThrowException in interface Foo

callsMethod2ThanCanThrowException

public void callsMethod2ThanCanThrowException(java.lang.String arg1,
                                              java.lang.String arg2)
Specified by:
callsMethod2ThanCanThrowException in interface Foo

callToMethodThatCanThrowTimeoutExcepption

public void callToMethodThatCanThrowTimeoutExcepption(java.lang.String arg1,
                                                      java.lang.String arg2)
                                               throws java.util.concurrent.TimeoutException
Specified by:
callToMethodThatCanThrowTimeoutExcepption in interface Foo
Throws:
java.util.concurrent.TimeoutException


Copyright © 2007-2008. All Rights Reserved.