All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sgi.sysadm.ui.TaskInitFailedException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----com.sgi.sysadm.ui.TaskInitFailedException

public class TaskInitFailedException
extends Exception
TaskInitFailedException is thrown when one of Task.setTaskDataAttr(), Task.setOperands(), or Task.verifyPrereqs() fails.

Use getErrorCode() to determine what caused the exception. Use Exception.getMessage() to get a localized message suitable for display to the user.


Variable Index

 o GET_PRIV_FAILED
Could not obtain privileges.
 o INVALID_DATA_ATTR
Invalid data attribute key in Task.setDataAttr().
 o INVALID_OPERANDS
Invalid number of operands or illegal operand type.
 o INVALID_PREREQS
System, data and/or operand(s) not in required state.

Constructor Index

 o TaskInitFailedException(String, int)
Constructor.

Method Index

 o getErrorCode()
Get the error code associated with this exception.

Variables

 o INVALID_DATA_ATTR
 public static final int INVALID_DATA_ATTR
Invalid data attribute key in Task.setDataAttr().

 o INVALID_OPERANDS
 public static final int INVALID_OPERANDS
Invalid number of operands or illegal operand type.

 o GET_PRIV_FAILED
 public static final int GET_PRIV_FAILED
Could not obtain privileges. It is not usually necessary to display the error message in this case because the user pressed cancel.

 o INVALID_PREREQS
 public static final int INVALID_PREREQS
System, data and/or operand(s) not in required state.

Constructors

 o TaskInitFailedException
 public TaskInitFailedException(String msg,
                                int errorCode)
Constructor.

Parameters:
msg - Localized error message suitable for display to users.
errorCode - Code indicating what caused the exception.

Methods

 o getErrorCode
 public int getErrorCode()
Get the error code associated with this exception.

Returns:
Error code associated with this exception.

All Packages  Class Hierarchy  This Package  Previous  Next  Index