it.unimi.di.mg4j.query.nodes
Class QueryBuilderVisitorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by it.unimi.di.mg4j.query.nodes.QueryBuilderVisitorException
All Implemented Interfaces:
Serializable

public class QueryBuilderVisitorException
extends Exception

A wrapper for unchecked exceptions thrown during a visit.

Since the operations of a visiting method are generic, any exception might be thrown by such a method. To avoid throwing all kinds of exception, unchecked exception thrown by visiting methods are wrapped by instances of this class (much like exceptions thrown by reflective calls are wrapped by InvocationTargetException).

Author:
Sebastiano Vigna
See Also:
Serialized Form

Constructor Summary
QueryBuilderVisitorException(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

QueryBuilderVisitorException

public QueryBuilderVisitorException(Throwable cause)