com.ddtek.xmlconverter.exception
Class ConverterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bycom.ddtek.xmlconverter.exception.ConverterException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConverterArgumentException, ConverterCancelledException, EDIConverterException, InternalConverterError, InvalidFormatException

public class ConverterException
extends IOException

Most Exceptions from DataDirect XML Converters are reported as instances of this exception or its subclasses. In some cases, where the interface between the XML Converter and the application is a standard interface such as ContentHandler or XMLStreamReader, the type of exception thrown is dictated by the interface definition.

See Also:
Serialized Form

Constructor Summary
 
Method Summary
 String getErrorCode()
          Many converters and utility methods provide specific indicators that represent the thrown exception type.
 
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
 

Constructor Detail
Method Detail

getErrorCode

public String getErrorCode()
Many converters and utility methods provide specific indicators that represent the thrown exception type. This returns that value as a string generally of four letters followed by four digits.

Returns:
Specific error code for converters or steps that support them, or null.