com.novell.admin.common.exceptions
Class AdminError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended bycom.novell.admin.common.exceptions.AdminError
All Implemented Interfaces:
java.io.Serializable

public class AdminError
extends java.lang.Error

See Also:
Serialized Form

Constructor Summary
AdminError(int id, java.lang.Class thrower)
          Constructs an AdminError object.
AdminError(int id, java.lang.String className)
          Constructs an AdminError object.
 
Method Summary
 java.lang.String getMessage()
          Retrieves the error message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdminError

public AdminError(int id,
                  java.lang.Class thrower)
Constructs an AdminError object.

Parameters:
id - The error ID.
thrower - The class that threw the exception.

AdminError

public AdminError(int id,
                  java.lang.String className)
Constructs an AdminError object.

Parameters:
id - The error ID.
className - The name of the class that threw the exception.
Method Detail

getMessage

public java.lang.String getMessage()
Retrieves the error message.

Returns:
the error message.


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.