saker.build Documentation TaskDoc JavaDoc Packages
public class SecondaryStreamException extends IOException
Exception class for rethrowing exceptions thrown by additional stream writings.
Constructors
public
Constructs an IOException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
public
Constructs an IOException with the specified detail message and cause.
Methods
public IOException
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
Documentation included from: IOException
Constructs an IOException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for IO exceptions that are little more than wrappers for other throwables.
causeThe cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
1.6
Documentation included from: IOException
Constructs an IOException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated into this exception's detail message.

messageThe detail message (which is saved for later retrieval by the Throwable.getMessage() method)
causeThe cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
1.6
Overridden from: Throwable
Returns the cause of this throwable or null if the cause is nonexistent or unknown. (The cause is the throwable that caused this throwable to get thrown.)

This implementation returns the cause that was supplied via one of the constructors requiring a Throwable, or that was set after creation with the Throwable.initCause(Throwable) method. While it is typically unnecessary to override this method, a subclass can override it to return a cause set by some other means. This is appropriate for a "legacy chained throwable" that predates the addition of chained exceptions to Throwable. Note that it is not necessary to override any of the PrintStackTrace methods, all of which invoke the getCause method to determine the cause of a throwable.

the cause of this throwable or null if the cause is nonexistent or unknown.
1.4