org.apache.stanbol.entityhub.servicesapi
Class EntityhubException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.stanbol.entityhub.servicesapi.EntityhubException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SiteException, YardException

public abstract class EntityhubException
extends Exception

Indicates an error while performing an operation within the Entityhub.

This class is abstract use one of the more specific subclasses

Author:
Rupert Westenthaler
See Also:
Serialized Form

Constructor Summary
protected EntityhubException(String reason)
          Creates an exception with a message and a cause
protected EntityhubException(String reason, Throwable cause)
          Creates an exception with a message and a 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

EntityhubException

protected EntityhubException(String reason,
                             Throwable cause)
Creates an exception with a message and a cause

Parameters:
reason - the message describing the reason for the error
cause - the parent

EntityhubException

protected EntityhubException(String reason)
Creates an exception with a message and a cause

Parameters:
reason - the message describing the reason for the error


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