public class ThrowClassNameError extends java.lang.Object implements ClassNameErrorHandler
Error with the
message.| Constructor and Description |
|---|
ThrowClassNameError() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(java.lang.String className)
Performs error handling behavior for bad class name.
|
void |
handle(java.lang.String className,
java.lang.Throwable e)
Performs error handling behavior for failure to read class due to exception.
|
public void handle(java.lang.String className)
ClassNameErrorHandlerhandle in interface ClassNameErrorHandlerclassName - the name of the class for inclusion in messagespublic void handle(java.lang.String className,
java.lang.Throwable e)
ClassNameErrorHandlerhandle in interface ClassNameErrorHandlerclassName - the class name to include in messagee - the exception from loading class