public interface ExceptionWrapper
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the nested exception or null if none is present.
|
Throwable |
getDetail()
Deprecated.
replaced by
getCause() . |
Throwable getDetail()
getCause()
.Throwable getCause()
This method is intentionally defined to be the same signature as the
java.lang.Throwable.getCause
method in Java 1.4 and
greater. By defining this method to return a nested exception, the Java
1.4 runtime will print the nested stack trace.
Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.