org.gcube.dataaccess.spql
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.gcube.dataaccess.spql.ParserException
All Implemented Interfaces:
Serializable

public class ParserException
extends Exception

Author:
"Federico De Faveri defaveri@isti.cnr.it"
See Also:
Serialized Form

Field Summary
protected  List<QueryError> errors
           
 
Constructor Summary
ParserException(String message)
           
ParserException(String message, List<QueryError> errors)
           
ParserException(String message, QueryError error)
           
ParserException(String message, Throwable cause, List<QueryError> errors)
           
 
Method Summary
 List<QueryError> getErrors()
           
 String toString()
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errors

protected List<QueryError> errors
Constructor Detail

ParserException

public ParserException(String message,
                       QueryError error)
Parameters:
message -
cause -

ParserException

public ParserException(String message)
Parameters:
message -

ParserException

public ParserException(String message,
                       List<QueryError> errors)
Parameters:
message -
errors -

ParserException

public ParserException(String message,
                       Throwable cause,
                       List<QueryError> errors)
Parameters:
message -
cause -
errors -
Method Detail

getErrors

public List<QueryError> getErrors()
Returns:
the errors

toString

public String toString()

Overrides:
toString in class Throwable


Copyright © 2013. All Rights Reserved.