org.openide.util.io
Class SafeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--org.openide.util.io.FoldingIOException
                          |
                          +--org.openide.util.io.SafeException
All Implemented Interfaces:
Serializable

public class SafeException
extends FoldingIOException

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.

See Also:
Serialized Form

Constructor Summary
SafeException(Exception ex)
          Default constructor.
 
Method Summary
 Exception getException()
           
 
Methods inherited from class org.openide.util.io.FoldingIOException
getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SafeException

public SafeException(Exception ex)
Default constructor.
Method Detail

getException

public Exception getException()
Returns:
the encapsulated exception.


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.