org.apache.stanbol.enhancer.servicesapi
Class EngineException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.stanbol.enhancer.servicesapi.EnhancementException
              extended by org.apache.stanbol.enhancer.servicesapi.EngineException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidContentException

public class EngineException
extends EnhancementException

Base exception thrown by EnhancementEngine implementations when they fail to process the provided content item.

If the failure is imputable to a malformed input in the ContentItem.getStream() or ContentItem.getMetadata() one should throw the subclass InvalidContentException instead.

Author:
ogrisel
See Also:
Serialized Form

Constructor Summary
EngineException(EnhancementEngine ee, ContentItem ci, java.lang.String message, java.lang.Throwable cause)
           
EngineException(EnhancementEngine ee, ContentItem ci, java.lang.Throwable cause)
           
EngineException(java.lang.String message)
           
EngineException(java.lang.String message, java.lang.Throwable cause)
           
EngineException(java.lang.Throwable cause)
           
 
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

EngineException

public EngineException(java.lang.String message)

EngineException

public EngineException(java.lang.String message,
                       java.lang.Throwable cause)

EngineException

public EngineException(java.lang.Throwable cause)

EngineException

public EngineException(EnhancementEngine ee,
                       ContentItem ci,
                       java.lang.Throwable cause)

EngineException

public EngineException(EnhancementEngine ee,
                       ContentItem ci,
                       java.lang.String message,
                       java.lang.Throwable cause)


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.