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.


Constructor Index

 o ClassLoadException(String)
A constructor that takes a className.
 o ClassLoadException(String, String)
A constructor that takes a className and errorString

Method Index

 o getClassName()
Returns the className passed to the constructor
 o getErrorString()
Returns the errorStr passed to the constructor

Constructors

 o 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
 o ClassLoadException
 public ClassLoadException(String className)
A constructor that takes a className.

Parameters:
className - The name of the class that was being loaded*

Methods

 o getClassName
 public String getClassName()
Returns the className passed to the constructor

 o getErrorString
 public String getErrorString()
Returns the errorStr passed to the constructor


All Packages  Class Hierarchy  This Package  Previous  Next  Index