com.arsdigita.search.converter
Class ConversionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.arsdigita.util.UncheckedWrapperException
                  extended bycom.arsdigita.search.converter.ConversionException
All Implemented Interfaces:
Serializable

public class ConversionException
extends UncheckedWrapperException

An exception to indicate that a problem occurred while trying to convert the contents of the document to text.

See Also:
Serialized Form

Field Summary
static String versionId
           
 
Constructor Summary
ConversionException(String msg)
          Constructor which only takes a msg, which will cause this ConversionException to behave like a normal RuntimeException.
ConversionException(String s, Throwable rootCause)
          Constructor which takes a message string and a root cause that this exception will be wrapping.
ConversionException(Throwable rootCause)
          Constructor which takes a root cause that this exception will be wrapping.
 
Methods inherited from class com.arsdigita.util.UncheckedWrapperException
getMessage, getRootCause, hasRootCause, printStackTrace, printStackTrace, printStackTrace, throwLoggedException, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

ConversionException

public ConversionException(String msg)
Constructor which only takes a msg, which will cause this ConversionException to behave like a normal RuntimeException. While it doesn't seem to make a lot of sense to have a wrapper exception that doesn't wrap anything, this is needed so that it can be used as a direct replacement for RuntimeException.


ConversionException

public ConversionException(Throwable rootCause)
Constructor which takes a root cause that this exception will be wrapping.


ConversionException

public ConversionException(String s,
                           Throwable rootCause)
Constructor which takes a message string and a root cause that this exception will be wrapping. The message string should be something different than rootCause.getMessage() would normally provide.



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC