JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.io
Class JCIOException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--com.klg.jclass.util.io.JCIOException
All Implemented Interfaces:
Serializable

public class JCIOException
extends IOException

This class extends IOException to create a separate exception to throw when an internal data file within an html or xml file is not found.

See Also:
Serialized Form

Field Summary
protected  Exception originalException
           
 
Constructor Summary
JCIOException()
          Constructs a JCIOException with null as its error detail message.
JCIOException(String s)
          Constructs a JCIOException with the specified detail message.
JCIOException(String s, Exception originalException)
          Constructs a JCIOException with the specified detail message and a orignal exception which cause this exception.
 
Method Summary
 Exception getOriginalException()
          Get the original exception that caused this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

originalException

protected Exception originalException
Constructor Detail

JCIOException

public JCIOException()
Constructs a JCIOException with null as its error detail message.


JCIOException

public JCIOException(String s)
Constructs a JCIOException with the specified detail message. The string s can be retrieved later by the Throwable.getMessage() method of class java.lang.Throwable.

Parameters:
s - The detail message.

JCIOException

public JCIOException(String s,
                     Exception originalException)
Constructs a JCIOException with the specified detail message and a orignal exception which cause this exception. The string s can be retrieved later by the Throwable.getMessage() method of class java.lang.Throwable.

Parameters:
s - The detail message.
originalException - An original exception that caused this exception
Method Detail

getOriginalException

public Exception getOriginalException()
Get the original exception that caused this exception. May be null.

Returns:
The orignal exception

Copyright © 2004 Quest Software Inc..
All rights reserved.