org.openrdf.rio
Class RDFHandlerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openrdf.OpenRDFException
              extended by org.openrdf.rio.RDFHandlerException
All Implemented Interfaces:
Serializable

public class RDFHandlerException
extends OpenRDFException

An exception that can be thrown by an RDFHandler when it encounters an unrecoverable error. If an exception is associated with the error then this exception can be wrapped in an RDFHandlerException and can later be retrieved from it when the RDFHandlerException is catched using the getCause().

See Also:
Serialized Form

Constructor Summary
RDFHandlerException(String msg)
          Creates a new RDFHandlerException.
RDFHandlerException(String msg, Throwable cause)
          Creates a new RDFHandlerException wrapping another exception.
RDFHandlerException(Throwable cause)
          Creates a new RDFHandlerException.
 
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

RDFHandlerException

public RDFHandlerException(String msg)
Creates a new RDFHandlerException.

Parameters:
msg - An error message.

RDFHandlerException

public RDFHandlerException(Throwable cause)
Creates a new RDFHandlerException.

Parameters:
cause - The cause of the exception.

RDFHandlerException

public RDFHandlerException(String msg,
                           Throwable cause)
Creates a new RDFHandlerException wrapping another exception.

Parameters:
msg - An error message.
cause - The cause of the exception.


Copyright © 2001-2008 Aduna. All Rights Reserved.