abstract static class PropertyAccessorFactory.ConstructorFunctionBase
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.reflect.Constructor |
constructor |
| Constructor and Description |
|---|
ConstructorFunctionBase(java.lang.reflect.Constructor constructor) |
| Modifier and Type | Method and Description |
|---|---|
protected JSONException |
errorOnNewInstance(java.lang.Exception e)
Creates a specific JSON exception for constructor instantiation errors.
|
protected JSONException |
errorOnSetAccessible(java.lang.Exception e)
Creates a specific JSON exception for constructor accessibility errors.
|
protected void |
setAccessible()
Makes the constructor accessible, handling any security exceptions
that might occur during the process.
|
public ConstructorFunctionBase(java.lang.reflect.Constructor constructor)
protected void setAccessible()
protected JSONException errorOnSetAccessible(java.lang.Exception e)
e - the original exception that occurredprotected JSONException errorOnNewInstance(java.lang.Exception e)
e - the original exception that occurred