org.openrdf.query
Class TupleQueryResultHandlerException

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

public class TupleQueryResultHandlerException
extends OpenRDFException

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

See Also:
Serialized Form

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

TupleQueryResultHandlerException

public TupleQueryResultHandlerException(String msg)
Creates a new TupleQueryResultHandlerException.

Parameters:
msg - An error message.

TupleQueryResultHandlerException

public TupleQueryResultHandlerException(Throwable cause)
Creates a new TupleQueryResultHandlerException wrapping another exception.

Parameters:
cause - The cause of the exception.

TupleQueryResultHandlerException

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

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


Copyright © 2001-2012 Aduna. All Rights Reserved.