Class sunw.corba.SystemException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunw.corba.SystemException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----sunw.orb.ORBException
                           |
                           +----sunw.corba.CORBAException
                                   |
                                   +----sunw.corba.SystemException

public class SystemException
extends CORBAException
A class template for the standard exceptions defined for the Orb. These exceptions may be returned as a result of any Corba operation invocation. The standard exceptions contain a minor code, allowing more detailed specification, and a completion status (Yes, No, or Maybe). This class is subclassed to generate each one of the set of standard Orb exceptions.

Variable Index

 o CompletedMaybe
The operation may or may not have completed
 o CompletedNo
The operation has not completed
 o CompletedYes
The operation has completed

Constructor Index

 o SystemException()
The null Constructor, invoked only by direct subclasses.

Method Index

 o classNameOf(String)
Get the class name corresponding to a particular repository Id.
 o fromORBException(ORBException)
 o getCompleted()
 o getMinorCode()
 o newException(String)
 o newException(String, int, int)
 o repositoryId()
 o setCompleted(int)
 o setMinorCode(int)
 o throwException(String)
Throws a new instance of the named exception.
 o throwException(String, int, int)
Throws a new instance of the named exception.
 o toString()
Convert this exception to a representative string.

Variables

 o CompletedYes
  public final static int CompletedYes
The operation has completed
 o CompletedNo
  public final static int CompletedNo
The operation has not completed
 o CompletedMaybe
  public final static int CompletedMaybe
The operation may or may not have completed

Constructors

 o SystemException
  public SystemException()
The null Constructor, invoked only by direct subclasses.

Methods

 o fromORBException
  public static SystemException fromORBException(ORBException that)
 o toString
  public String toString()
Convert this exception to a representative string.
Overrides:
toString in class CORBAException
 o getCompleted
  public int getCompleted()
 o setCompleted
  public void setCompleted(int completed)
 o getMinorCode
  public int getMinorCode()
 o setMinorCode
  public void setMinorCode(int minorCode)
 o repositoryId
  public String repositoryId()
 o classNameOf
  public static String classNameOf(String repositoryId)
Get the class name corresponding to a particular repository Id. This is used by the system to unmarshal (instantiate) the appropriate exception class for an marshaled as the value of its repository Id.
Parameters:
repositoryId - The repository Id for which we want a class name.
 o throwException
  public static void throwException(String ex) throws SystemException
Throws a new instance of the named exception. Throwing exceptions this way delays loading specific System exception subclasses until they are actually thrown.
Parameters:
ex - The complete class name of the exception to throw.
Throws: SystemException
One of the CORBA System Exceptions.
 o newException
  public static SystemException newException(String ex)
 o newException
  public static SystemException newException(String ex,
                                             int minor,
                                             int completed)
 o throwException
  public static void throwException(String ex,
                                    int minor,
                                    int completed) throws SystemException
Throws a new instance of the named exception. Throwing exceptions this way delays loading specific System exception subclasses until they are actually thrown.
Parameters:
ex - The complete class name of the exception to throw.
minor - The minor exception code.
completed - The operation completion status.
Throws: SystemException
One of the CORBA System Exceptions.

All Packages  Class Hierarchy  This Package  Previous  Next  Index