All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.util.SysUtil.ClassLoadException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----com.sgi.sysadm.util.SysUtil.ClassLoadException
- public class ClassLoadException
- extends Exception
A class that gets thrown in a Class can't be loaded and
instantiated. It encapulates all the Exceptions that are thrown
by a class load and instantiation.
Calling getClassName will return the name of the Class
that was being loaded, and getErrorString will return an
error message (not localized) about the nature of the error.
-
ClassLoadException(String)
- A constructor that takes a className.
-
ClassLoadException(String, String)
- A constructor that takes a className and errorString
-
getClassName()
- Returns the
className
passed to the constructor
-
getErrorString()
- Returns the
errorStr
passed to the constructor
ClassLoadException
public ClassLoadException(String className,
String errorStr)
- A constructor that takes a className and errorString
- Parameters:
- className - The name of the class that was being loaded
- errorString - A string describing the error
ClassLoadException
public ClassLoadException(String className)
- A constructor that takes a className.
- Parameters:
- className - The name of the class that was being loaded*
getClassName
public String getClassName()
- Returns the
className
passed to the constructor
getErrorString
public String getErrorString()
- Returns the
errorStr
passed to the constructor
All Packages Class Hierarchy This Package Previous Next Index