org.openide.util.io
Class OperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.openide.util.io.OperationException
All Implemented Interfaces:
java.io.Serializable

public class OperationException
extends java.io.IOException

Special IOException that is used to signal that the write operation failed but the underlaying stream is not corrupted and can be used for next operations.

Author:
Jaroslav Tulach
See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
OperationException(java.lang.Exception ex)
          Default constructor.
 
Method Summary
 java.lang.Throwable getCause()
           
 java.lang.Exception getException()
           
 java.lang.String getMessage()
          Description taken from previous message
 
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

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

OperationException

public OperationException(java.lang.Exception ex)
Default constructor.

Method Detail

getException

public java.lang.Exception getException()
Returns:
the encapsulated exception.

getMessage

public java.lang.String getMessage()
Description taken from previous message

Overrides:
getMessage in class java.lang.Throwable

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable