gate.creole
Class ResourceInstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
gate.util.GateException
gate.creole.ResourceInstantiationException
- All Implemented Interfaces:
- Serializable
- public class ResourceInstantiationException
- extends GateException
This exception indicates failure during instantiation of resources,
which may be due to a number of causes:
-
the resource metadata contains parameters that aren't available on
the resource;
-
the class for the resource cannot be found (e.g. because a Jar URL was
incorrectly specified);
-
because access to the resource class is denied by the class loader;
-
because of insufficient or incorrect resource metadata.
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
DEBUG
private static final boolean DEBUG
- Debug flag
- See Also:
- Constant Field Values
exception
private Exception exception
ResourceInstantiationException
public ResourceInstantiationException()
ResourceInstantiationException
public ResourceInstantiationException(String s)
ResourceInstantiationException
public ResourceInstantiationException(Exception e)
printStackTrace
public void printStackTrace()
- Overriden so we can print the enclosed exception's stacktrace too.
- Overrides:
printStackTrace
in class GateException
printStackTrace
public void printStackTrace(PrintStream s)
- Overriden so we can print the enclosed exception's stacktrace too.
- Overrides:
printStackTrace
in class GateException
printStackTrace
public void printStackTrace(PrintWriter s)
- Overriden so we can print the enclosed exception's stacktrace too.