Modifier and Type | Field and Description |
---|---|
public Exception | detail
Deprecated
since 17. This field predates the general-purpose exception
chaining facility.
Exception that was caught while writing the ObjectStream.
|
private static final long |
Access | Constructor and Description |
---|---|
public | WriteAbortedException(String
String describing the exception. s, Exception Exception causing the abort. ex)Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort. |
Modifier and Type | Method and Description |
---|---|
public Throwable | Returns: the exception that terminated the operation (the cause), which may be null.Overrides java. Returns the exception that terminated the operation (the cause). |
public String | getMessage()
Overrides java. Produce the message and include the message from the nested exception, if there is one. |
detail | back to summary |
---|---|
public Exception detail
Deprecated since 17. This field predates the general-purpose exception
chaining facility. The Exception that was caught while writing the ObjectStream.
|
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides java. |
WriteAbortedException | back to summary |
---|---|
public WriteAbortedException(String s, Exception ex) Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort.
|
getCause | back to summary |
---|---|
public Throwable getCause() Overrides java. Returns the exception that terminated the operation (the cause). |
getMessage | back to summary |
---|---|
public String getMessage() Overrides java. Produce the message and include the message from the nested exception, if there is one.
|