Generated by
JDiff

Class java.lang.Throwable

Documentation changed from old to new.

Added Constructors
Throwable(String, Throwable) Constructs a new throwable with the specified detail message and cause.
Throwable(Throwable) Constructs a new throwable with the specified cause and a detail message of (cause==null null : cause.toString()) (which typically contains the class and detail message of cause).
 

Changed Constructors
Throwable(String) Documentation changed from old to new.
Constructs a new throwable with the specified detail message.
Throwable(void) Documentation changed from old to new.
Constructs a new throwable with null as its detail message.
 

Added Methods
Throwable getCause() Returns the cause of this throwable or null if the cause is nonexistent or unknown.
StackTraceElement[] getStackTrace() Provides programmatic access to the stack trace information printed by #printStackTrace() Returns an array of stack trace elements each representing one stack frame.
Throwable initCause(Throwable) Initializes the cause of this throwable to the specified value.
void setStackTrace(StackTraceElement[]) Sets the stack trace elements that will be returned by #getStackTrace() and printed by #printStackTrace() and related methods.
 

Changed Methods
Throwable fillInStackTrace() Documentation changed from old to new.
Changed from non-synchronized to synchronized.
Fills in the execution stack trace.
String getLocalizedMessage() Documentation changed from old to new.
Creates a localized description of this throwable.
String getMessage() Documentation changed from old to new.
Returns the detail message string of this throwable.
String toString() Documentation changed from old to new.
Returns a short description of this throwable.
void printStackTrace() Documentation changed from old to new.
Prints this throwable and its backtrace to the standard error stream.
void printStackTrace(PrintStream) Documentation changed from old to new.
Prints this throwable and its backtrace to the specified print stream.
void printStackTrace(PrintWriter) Documentation changed from old to new.
Prints this throwable and its backtrace to the specified print writer.