net.ivoa.registry.search
Class ADQLSyntaxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.ivoa.registry.RegistryAccessException
              extended by net.ivoa.registry.search.ADQLSyntaxException
All Implemented Interfaces:
java.io.Serializable

public class ADQLSyntaxException
extends RegistryAccessException

an exception indicating that an ADQL query contains a syntax error

See Also:
Serialized Form

Field Summary
protected  java.lang.Exception wrapped
           
 
Constructor Summary
ADQLSyntaxException()
           
ADQLSyntaxException(java.lang.Exception ex)
          Wrap the exception generated by the ADQL parser that detected the Error.
ADQLSyntaxException(java.lang.String msg)
           
 
Method Summary
 java.lang.Exception getWrapped()
          return the original exception that resulted from parsing the query.
 
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
 

Field Detail

wrapped

protected java.lang.Exception wrapped
Constructor Detail

ADQLSyntaxException

public ADQLSyntaxException()

ADQLSyntaxException

public ADQLSyntaxException(java.lang.String msg)

ADQLSyntaxException

public ADQLSyntaxException(java.lang.Exception ex)
Wrap the exception generated by the ADQL parser that detected the Error. (This is usually a TransformException.)

Method Detail

getWrapped

public java.lang.Exception getWrapped()
return the original exception that resulted from parsing the query. Null is returned if an exception is not wrapped.