|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Error
com.yahoo.java.ExtendedError
public class ExtendedError
Extension of the java.lang.Error class to provide the Java 1.4 embedded cause functionality on platforms that don't already provide it.
| Constructor Summary | |
|---|---|
ExtendedError(String message,
Throwable cause)
Constructs an error with an underlying cause and a message |
|
ExtendedError(Throwable cause)
Constructs an error with an underlying cause. |
|
| Method Summary | |
|---|---|
void |
printStackTrace()
Implements printStackTrace so that it prints the stack trace for both this error and the underyling cause, if there is one. |
void |
printStackTrace(PrintStream s)
Implements printStackTrace so that it prints the stack trace for both this error and the underyling cause, if there is one. |
void |
printStackTrace(PrintWriter s)
Implements printStackTrace so that it prints the stack trace for both this error and the underyling cause, if there is one. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedError(Throwable cause)
cause - The underlying cause of the error.
public ExtendedError(String message,
Throwable cause)
message - The message of the error.cause - The underlying cause of the error.| Method Detail |
|---|
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class Throwables - The print stream to print the stack trace to.public void printStackTrace(PrintWriter s)
printStackTrace in class Throwables - The print writer to write the stack trace to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||