CORBA.SystemException
Contents
-
CORBA.SystemException.SystemException()
-
CORBA.SystemException.SystemException()
-
CORBA.SystemException.completed()
-
CORBA.SystemException.completed()
-
CORBA.SystemException.minor()
-
CORBA.SystemException.minor()
-
CORBA.SystemException.toString()
Synopsis:
The OrbixWeb system exceptions are organised into a class hierarchy: each system exception is a derived class of SystemException
(which in turn is a derived class of CORBAException
). This allows all system exceptions to be caught in one single Java catch
clause.
The CORBA specification defines a set of system exceptions and OrbixWeb adds a number of system exceptions that may be raised by OrbixWeb to this set. The system exceptions implemented by OrbixWeb are listed in Appendix B, "System Exceptions".
OrbixWeb:
// Java
package IE.Iona.Orbix2;
public class SystemException
extends IE.Iona.Orbix2.CORBA.CORBAException {
// Constructors
public SystemException(String id);
public SystemException(SystemException ex);
// Methods
public String toString();
public int completed();
public void completed(int completion_status);
public int minor();
public void minor(int minor_id);
}
Notes:
OrbixWeb specific.
See Also:
CORBA.CORBAException
CORBA.UserException
CORBA.SystemException.SystemException()
Synopsis:
public SystemException(SystemException ex);
Description:
Copy constructor.
Notes:
OrbixWeb specific.
CORBA.SystemException.SystemException()
Synopsis:
public SystemException(String id);
Description:
Creates a system exception object with the specified identifier. This identifier is used in the output from CORBA.SystemException.toString()
.
Notes:
OrbixWeb specific.
See Also:
CORBA.SystemException.toString()
CORBA.SystemException.completed()
Synopsis:
public int completed();
Description:
Returns an indication of the status of an operation at the time the exception was raised. This is one of CORBA.CompletionStatus.YES
, CORBA.CompletionStatus.NO
, or CORBA.CompletionStatus.MAYBE
.
Notes:
CORBA specified.
See Also:
CORBA.SystemException.completed(int completion_status)
CORBA.CompletionStatus
CORBA.SystemException.completed()
Synopsis:
public void completed(int completion_status);
Description:
Sets the status of an operation at the time an exception is raised. This is one of CORBA.CompletionStatus.YES
, CORBA.CompletionStatus.NO
, or CORBA.CompletionStatus.MAYBE
.
Notes:
CORBA specified. It should not be necessary for programmers to use this method.
See Also:
CORBA.SystemException.completed()
CORBA.CompletionStatus
CORBA.SystemException.minor()
Synopsis:
public int minor();
Description:
Returns a code describing the type of the system exception. In OrbixWeb, this code is used to index into the ErrorMsgs
file to extract the appropriate message.
Notes:
CORBA specified.
See Also:
CORBA.minor(int minor_id)
CORBA.SystemException.minor()
Synopsis:
public void minor(int minor_id);
Description:
Sets the code, describing the type of the system exception.
Notes:
CORBA defined. It should not be necessary for programmers to use this method.
See Also:
CORBA.minor()
CORBA.SystemException.toString()
Synopsis:
public String toString();
Description:
Converts the exception information to a string.
Notes:
OrbixWeb specific.
[Roadmap]
[Utilities]
[Compiling]
[Configuration]
[Class Reference]
[IR Reference]
[Daemon Reference]
[IDL Grammar]
[System Exceptions]
[Index]