public static class QueryBuilder.ExecutionException
extends java.lang.RuntimeException
QueryBuilder.execute()
and QueryBuilder.executeOn(android.content.ContentResolver, android.net.Uri)
when the
underlying ContentResolver
query operation fails.Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_MESSAGE |
Constructor and Description |
---|
ExecutionException() |
ExecutionException(java.lang.Class<? extends QueryBuilder> cls)
Creates a standard exception with a message indicating the class
which failed to execute.
|
ExecutionException(java.lang.Class<? extends QueryBuilder> cls,
java.lang.Throwable xCause)
Creates a standard exception with a message indicating the class
which failed to execute.
|
ExecutionException(java.lang.String sMessage) |
ExecutionException(java.lang.String sMessage,
java.lang.Throwable xCause) |
ExecutionException(java.lang.Throwable xCause) |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
getClassMessage(java.lang.Class<? extends QueryBuilder> cls)
Generates an exception message based on the name of the class that
failed.
|
protected static final java.lang.String DEFAULT_MESSAGE
public ExecutionException()
public ExecutionException(java.lang.String sMessage)
public ExecutionException(java.lang.Class<? extends QueryBuilder> cls)
cls
- the class which failed to executepublic ExecutionException(java.lang.Throwable xCause)
public ExecutionException(java.lang.String sMessage, java.lang.Throwable xCause)
public ExecutionException(java.lang.Class<? extends QueryBuilder> cls, java.lang.Throwable xCause)
cls
- the class which failed to executexCause
- the cause of the failureprotected static java.lang.String getClassMessage(java.lang.Class<? extends QueryBuilder> cls)
cls
- the class whose execution method failed