JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.io
Class JCParseException

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

public class JCParseException
extends IOException

This class extends Exception 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
JCParseException()
          Constructs a JCParseException with null as its error detail message.
JCParseException(String s)
          Constructs a JCParseException with the specified detail message.
JCParseException(String s, Exception originalException)
          Constructs a JCParseException 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

JCParseException

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


JCParseException

public JCParseException(String s)
Constructs a JCParseException 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.

JCParseException

public JCParseException(String s,
                        Exception originalException)
Constructs a JCParseException 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.