Package org.intermine.api.query.codegen
Class InvalidQueryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.intermine.api.query.codegen.InvalidQueryException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidQueryException extends java.lang.Exception
A class representing a failure to generate the code for a query because the query is invalid. This class is associated with a list of reasons why the query is invalid.- Author:
- Alex Kalderimis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidQueryException(java.lang.String msg)
Construct an exception with a single problem.InvalidQueryException(java.util.Collection<? extends java.lang.String> problems)
Construct an exception with a list of problems.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getProblems()
-
-
-
Constructor Detail
-
InvalidQueryException
public InvalidQueryException(java.lang.String msg)
Construct an exception with a single problem.- Parameters:
msg
- The reason why this query is invalid.
-
InvalidQueryException
public InvalidQueryException(java.util.Collection<? extends java.lang.String> problems)
Construct an exception with a list of problems.- Parameters:
problems
- The reasons why this query is invalid.
-
-