com.itmill.toolkit.event
Class ListenerMethod.MethodException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.itmill.toolkit.event.ListenerMethod.MethodException
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- ListenerMethod
public class ListenerMethod.MethodException
- extends 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:
- 5.3.0
- Author:
- IT Mill Ltd.
- See Also:
- Serialized Form
getCause
public Throwable getCause()
- Retrieves the cause of this throwable or
null
if the
cause does not exist or not known.
- Overrides:
getCause
in class Throwable
- Returns:
- the cause of this throwable or
null
if the cause
is nonexistent or unknown. - See Also:
Throwable.getCause()
getMessage
public String getMessage()
- Returns the error message string of this throwable object.
- Overrides:
getMessage
in class Throwable
- Returns:
- the error message.
- See Also:
Throwable.getMessage()
toString
public String toString()
- Overrides:
toString
in class Throwable
- See Also:
Throwable.toString()
Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.