com.caucho.config
Class ConfigException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.caucho.config.ConfigRuntimeException
com.caucho.config.ConfigException
- All Implemented Interfaces:
- CompileException, DisplayableException, java.io.Serializable
- Direct Known Subclasses:
- LineConfigException
public class ConfigException
- extends ConfigRuntimeException
- implements CompileException, DisplayableException
Thrown by the various Builders
- See Also:
- Serialized Form
|
Constructor Summary |
ConfigException()
Create a null exception |
ConfigException(java.lang.String msg)
Creates an exception with a message |
ConfigException(java.lang.String msg,
java.lang.Throwable e)
Creates an exception with a message and throwable |
|
Method Summary |
static java.lang.RuntimeException |
create(java.lang.reflect.Field field,
java.lang.Throwable e)
|
static java.lang.RuntimeException |
create(java.lang.reflect.Method method,
java.lang.String msg,
java.lang.Throwable e)
|
static java.lang.RuntimeException |
create(java.lang.reflect.Method method,
java.lang.Throwable e)
|
static java.lang.RuntimeException |
create(java.lang.String location,
java.lang.Throwable e)
|
static java.lang.RuntimeException |
create(java.lang.Throwable e)
|
static java.lang.String |
loc(java.lang.reflect.Field field)
|
static java.lang.String |
loc(java.lang.reflect.Method method)
|
void |
print(java.io.PrintWriter out)
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConfigException
public ConfigException()
- Create a null exception
ConfigException
public ConfigException(java.lang.String msg)
- Creates an exception with a message
ConfigException
public ConfigException(java.lang.String msg,
java.lang.Throwable e)
- Creates an exception with a message and throwable
create
public static java.lang.RuntimeException create(java.lang.String location,
java.lang.Throwable e)
create
public static java.lang.RuntimeException create(java.lang.reflect.Field field,
java.lang.Throwable e)
create
public static java.lang.RuntimeException create(java.lang.reflect.Method method,
java.lang.Throwable e)
create
public static java.lang.RuntimeException create(java.lang.reflect.Method method,
java.lang.String msg,
java.lang.Throwable e)
create
public static java.lang.RuntimeException create(java.lang.Throwable e)
print
public void print(java.io.PrintWriter out)
- Specified by:
print in interface DisplayableException- Overrides:
print in class ConfigRuntimeException
loc
public static java.lang.String loc(java.lang.reflect.Field field)
loc
public static java.lang.String loc(java.lang.reflect.Method method)