com.novell.java.lang
Interface HasRootCause
- public interface HasRootCause
Provides an interface that can be implemented by classes having
root cause exceptions. HasRootCause is typically implemented by
throwable classes wanting to report the exception into which a
new exception is wrapped.
- See Also:
HasRootCauses
Method Summary |
java.lang.Throwable |
getRootCause()
Returns the stored root cause as a Throwable object. |
getRootCause
public java.lang.Throwable getRootCause()
- Returns the stored root cause as a Throwable object.
- Returns:
- The root cause; NULL if none exists.