Class BQException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.pipecraft.infra.bq.exceptions.BQException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NonTransientBQException,TransientBQException
public abstract class BQException extends Exception
The ancestor class of all checked BQ exceptions Descendants are eitherTransientBQExceptionorNonTransientBQException.- Author:
- Eyal Schneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BQException(String msg)ConstructorBQException(String msg, Throwable cause)ConstructorBQException(String msg, Throwable cause, BQQuery<?,?> query)Constructor To be used for failed query requests only.BQException(String msg, BQQuery<?,?> query)Constructor To be used for failed query requests only.BQException(Throwable cause, BQQuery<?,?> query)Constructor To be used for failed query requests only.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BQException
public BQException(String msg, Throwable cause)
Constructor- Parameters:
msg- The error messagecause- The cause of this exception
-
BQException
public BQException(String msg)
Constructor- Parameters:
msg- The error message
-
BQException
public BQException(Throwable cause, BQQuery<?,?> query)
Constructor To be used for failed query requests only.- Parameters:
cause- The cause of this exceptionquery- The failed query.
-
BQException
public BQException(String msg, BQQuery<?,?> query)
Constructor To be used for failed query requests only.- Parameters:
msg- The error messagequery- The failed query
-
-