|
Préférences
Moteurs de recherche
|
|||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.5.0
java.io
|
Field Summary | |
---|---|
Exception |
detail
Exception that was caught while writing the ObjectStream. |
Constructor Summary | |
---|---|
WriteAbortedException(String s,
Exception ex)
Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort. |
Method Summary | |
---|---|
Throwable |
getCause()
Returns the exception that terminated the operation (the cause). |
String |
getMessage()
Produce the message and include the message from the nested exception, if there is one. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Exception detail
This field predates the general-purpose exception chaining facility.
The Throwable.getCause()
method is now the preferred means of
obtaining this information.
Constructor Detail |
---|
public WriteAbortedException(String s, Exception ex)
s
- String describing the exception.ex
- Exception causing the abort.Method Detail |
---|
public String getMessage()
getMessage
in class Throwable
public Throwable getCause()