ecologylab.xml.internaltranslators.cocoa
Class CocoaTranslationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ecologylab.xml.internaltranslators.cocoa.CocoaTranslationException
All Implemented Interfaces:
CocaTranslationExceptionTypes, java.io.Serializable

public class CocoaTranslationException
extends java.lang.Exception
implements CocaTranslationExceptionTypes

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface ecologylab.xml.internaltranslators.cocoa.CocaTranslationExceptionTypes
FILE_NOT_FOUND, IO_EXCEPTION, NULL_PURL, UNKNOWN, UNSUPPORTED_DATATYPE
 
Constructor Summary
CocoaTranslationException()
           
CocoaTranslationException(int exceptionType)
           
CocoaTranslationException(java.lang.String msg)
           
CocoaTranslationException(java.lang.String msg, java.lang.Exception e)
           
CocoaTranslationException(java.lang.String msg, java.lang.Exception e, int exceptionType)
           
CocoaTranslationException(java.lang.String msg, int exceptionType)
           
 
Method Summary
 int getExceptionType()
          Returns the type of exception that generated the XmlTranslationException.
 void printTraceOrMessage(Debug that, java.lang.String msg, ParsedURL purl)
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CocoaTranslationException

public CocoaTranslationException()

CocoaTranslationException

public CocoaTranslationException(java.lang.String msg)

CocoaTranslationException

public CocoaTranslationException(java.lang.String msg,
                                 java.lang.Exception e)

CocoaTranslationException

public CocoaTranslationException(int exceptionType)

CocoaTranslationException

public CocoaTranslationException(java.lang.String msg,
                                 int exceptionType)

CocoaTranslationException

public CocoaTranslationException(java.lang.String msg,
                                 java.lang.Exception e,
                                 int exceptionType)
Method Detail

getExceptionType

public int getExceptionType()
Returns the type of exception that generated the XmlTranslationException. These can be referenced from the interface XmlTranslationExceptionTypes.

Returns:

printTraceOrMessage

public void printTraceOrMessage(Debug that,
                                java.lang.String msg,
                                ParsedURL purl)