public class IntrospectionException
extends java.lang.RuntimeException
SQLiteHouse
and its descendant classes whenever the process
of reflexively constructing a database fails.Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_MESSAGE |
Constructor and Description |
---|
IntrospectionException() |
IntrospectionException(java.lang.String sMessage) |
IntrospectionException(java.lang.String sMessage,
java.lang.Throwable xCause) |
IntrospectionException(java.lang.Throwable xCause) |
Modifier and Type | Method and Description |
---|---|
static IntrospectionException |
illegalClassSpecification(java.lang.Class<?> cls,
java.lang.Throwable xCause)
Used when something tries to process a class that does not implement the
SQLightable
interface. |
static IntrospectionException |
illegalClassSpecification(java.lang.String sClass,
java.lang.Throwable xCause)
Used when something tries to process a class that does not implement the
SQLightable
interface. |
static IntrospectionException |
instanceFailed(java.lang.Class<?> cls,
java.lang.Throwable xCause)
Used when an attempt to use
Class.newInstance() fails with an
InstantiationException . |
static IntrospectionException |
instanceFailed(java.lang.String sClass,
java.lang.Throwable xCause)
Used when an attempt to create an instance of a schematic class fails.
|
static IntrospectionException |
instanceForbidden(java.lang.Class<?> cls,
java.lang.Throwable xCause)
Used when an attempt to use
Class.newInstance() fails with an
IllegalAccessException . |
protected static final java.lang.String DEFAULT_MESSAGE
public IntrospectionException()
public IntrospectionException(java.lang.String sMessage)
public IntrospectionException(java.lang.Throwable xCause)
public IntrospectionException(java.lang.String sMessage, java.lang.Throwable xCause)
public static IntrospectionException instanceFailed(java.lang.Class<?> cls, java.lang.Throwable xCause)
Class.newInstance()
fails with an
InstantiationException
.cls
- the class being instantiatedxCause
- the cause of the failurepublic static IntrospectionException instanceFailed(java.lang.String sClass, java.lang.Throwable xCause)
sClass
- the canonical name of the class being instantiatedxCause
- the cause of the failurepublic static IntrospectionException instanceForbidden(java.lang.Class<?> cls, java.lang.Throwable xCause)
Class.newInstance()
fails with an
IllegalAccessException
.cls
- the class being instantiatedxCause
- the cause of the failurepublic static IntrospectionException illegalClassSpecification(java.lang.Class<?> cls, java.lang.Throwable xCause)
SQLightable
interface.cls
- the unusable classxCause
- the root cause, if anypublic static IntrospectionException illegalClassSpecification(java.lang.String sClass, java.lang.Throwable xCause)
SQLightable
interface.sClass
- the canonical name of the unusable classxCause
- the root cause, if any