org.semanticdesktop.aperture.subcrawler
Class SubCrawlerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.semanticdesktop.aperture.subcrawler.SubCrawlerException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ThreadedSubCrawlerWrapper.SubCrawlingAbortedException, ThreadedSubCrawlerWrapper.SubCrawlingInterruptedException

public class SubCrawlerException
extends Exception

Thrown to indicate that an error occurred while extracting information from an InputStream by a SubCrawler. A typical use case of this exception is for reporting parse errors.

See Also:
Serialized Form

Constructor Summary
SubCrawlerException()
          Constructs an SubCrawlerException with no detail message.
SubCrawlerException(String msg)
          Constructs a SubCrawlerException with the specified detail message.
SubCrawlerException(String msg, Throwable source)
          Constructs an SubCrawlerException with the specified detail message and cause.
SubCrawlerException(Throwable source)
          Constructs a SubCrawlerException with the specified cause and a detail message of (cause==null ?
 
Method Summary
 
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

SubCrawlerException

public SubCrawlerException()
Constructs an SubCrawlerException with no detail message.


SubCrawlerException

public SubCrawlerException(String msg)
Constructs a SubCrawlerException with the specified detail message.

Parameters:
msg - The detail message.

SubCrawlerException

public SubCrawlerException(String msg,
                           Throwable source)
Constructs an SubCrawlerException with the specified detail message and cause. Note that the detail message associated with the cause is not automatically incorporated in this exception's detail message.

Parameters:
msg - The detail message.
source - The cause, which is saved for later retrieval by the Throwable.getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown.

SubCrawlerException

public SubCrawlerException(Throwable source)
Constructs a SubCrawlerException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than wrappers for other throwables.

Parameters:
source - The cause, which is saved for later retrieval by the Throwable.getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown.


Copyright © 2010 Aperture Development Team. All Rights Reserved.