org.apache.stanbol.enhancer.servicesapi
Class InvalidContentException

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
                  extended by org.apache.stanbol.enhancer.servicesapi.InvalidContentException
All Implemented Interfaces:
java.io.Serializable

public class InvalidContentException
extends EngineException

Enhancement Engine should throw this exception when the provided Content Item does not match there declared expectation (i.e. a malformed JPEG file).

Author:
ogrisel
See Also:
Serialized Form

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

InvalidContentException

public InvalidContentException(java.lang.String message)

InvalidContentException

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

InvalidContentException

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


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