org.millstone.base.event
Class ListenerMethod.MethodException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.millstone.base.event.ListenerMethod.MethodException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ListenerMethod

public class ListenerMethod.MethodException
extends java.lang.RuntimeException

Exception that wraps an exception thrown by an invoked method. When ListenerMethod invokes the target method, it may throw arbitrary exception. The original exception is wrapped into MethodException instance and rethrown by the ListenerMethod.

Since:
3.0
Version:
3.0.3
Author:
IT Mill Ltd.
See Also:
Serialized Form

Method Summary
 java.lang.Throwable getCause()
           
 java.lang.String getMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable
See Also:
Throwable.getMessage()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable


Copyright © 2000,2001,2002 IT Mill Ltd. All Rights Reserved.