org.apache.stanbol.entityhub.servicesapi.yard
Class YardException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.stanbol.entityhub.servicesapi.EntityhubException
              extended by org.apache.stanbol.entityhub.servicesapi.yard.YardException
All Implemented Interfaces:
Serializable

public class YardException
extends EntityhubException

Used to indicate an error while performing an operation on a yard

Author:
Rupert Westenthaler
See Also:
Serialized Form

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

YardException

public YardException(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

YardException

public YardException(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.