cookxml.core.exception
Class CookXmlException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycookxml.core.exception.CookXmlException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccessException, AdderException, ArrayException, BadKeyException, BadStyleException, CleanupException, ConverterException, CreatorException, HandlerException, InvalidClassTypeException, InvalidInputException, NoDefaultConstructorException, NoHandlerException, NoWidgetConstructorException, SetterException, UnknownNameSpaceException, VarLookupException

public class CookXmlException
extends RuntimeException

This is the base class for all CookXml related exceptions.

In order to stay compatible with older versions of CookXml, the base class is set to RuntimeException. However, for better error checking and correction, it is recommanded that you change it to Exception s.t. you are aware of the exceptions that are generated.

Occationally, certain exceptions may be passed to exception handler twice. You may wish to modify the exception object a bit through set/get property values to make notes.

Since:
CookXml 2.0
See Also:
RuntimeException, Exception, Serialized Form

Field Summary
 CookXml cookXml
           
 DecodeEngine decodeEngine
           
 
Constructor Summary
CookXmlException()
           
CookXmlException(CookXml cookXml)
           
CookXmlException(CookXml cookXml, DecodeEngine decodeEngine)
           
CookXmlException(CookXml cookXml, DecodeEngine decodeEngine, String msg, Throwable cause)
           
CookXmlException(DecodeEngine decodeEngine)
           
CookXmlException(String msg)
           
CookXmlException(String msg, Throwable cause)
           
CookXmlException(Throwable cause)
           
 
Method Summary
 Object getProperty(String key)
           
 Object setProperty(String key, Object value)
           
 
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

cookXml

public final CookXml cookXml

decodeEngine

public final DecodeEngine decodeEngine
Constructor Detail

CookXmlException

public CookXmlException()

CookXmlException

public CookXmlException(String msg)

CookXmlException

public CookXmlException(Throwable cause)

CookXmlException

public CookXmlException(String msg,
                        Throwable cause)

CookXmlException

public CookXmlException(CookXml cookXml)

CookXmlException

public CookXmlException(DecodeEngine decodeEngine)

CookXmlException

public CookXmlException(CookXml cookXml,
                        DecodeEngine decodeEngine)

CookXmlException

public CookXmlException(CookXml cookXml,
                        DecodeEngine decodeEngine,
                        String msg,
                        Throwable cause)
Method Detail

setProperty

public Object setProperty(String key,
                          Object value)

getProperty

public Object getProperty(String key)