Class TransientBQException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.pipecraft.infra.bq.exceptions.BQException
-
- org.pipecraft.infra.bq.exceptions.TransientBQException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClientResourcesBQException,IOTransientBQException,TimeoutBQException,UnavailableBQException
public class TransientBQException extends BQException
A superclass for BQException indicating a transient situation, meaning that retries may be helpful.- Author:
- Eyal Schneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransientBQException(String msg)ConstructorTransientBQException(String msg, Throwable cause)ConstructorTransientBQException(String msg, Throwable cause, BQQuery<?,?> query)Constructor To be used for failed query requests only.TransientBQException(String msg, BQQuery<?,?> query)Constructor To be used for failed query requests only.TransientBQException(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
-
TransientBQException
public TransientBQException(String msg)
Constructor- Parameters:
msg- The error message
-
TransientBQException
public TransientBQException(String msg, Throwable cause)
Constructor- Parameters:
msg- The error messagecause- The original exception
-
TransientBQException
public TransientBQException(Throwable cause, BQQuery<?,?> query)
Constructor To be used for failed query requests only.- Parameters:
cause- The cause of this exceptionquery- The failed query.
-
TransientBQException
public TransientBQException(String msg, BQQuery<?,?> query)
Constructor To be used for failed query requests only.- Parameters:
msg- The error messagequery- The failed query
-
-