com.objectspace.voyager.corba
Class SystemException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.objectspace.voyager.corba.SystemException
- public final class SystemException
- extends java.lang.RuntimeException
A SystemException represents an exception thrown by a CORBA ORB.
If a Voyager object throws a Voyager-related exception as the result
of an IIOP invocation, it is automatically encoded as a SystemException
when sent back to the sender via IIOP.
- Version:
- 3.0
- See Also:
- Serialized Form
Field Summary |
int |
minor
A code that provides more information about the system exception. |
int |
status
COMPLETED_YES, COMPLETED_NO, or COMPLETED_MAYBE. |
Constructor Summary |
SystemException(java.lang.String reason)
Construct a SystemException corresponding to the specified CORBA exception. |
SystemException(java.lang.String reason,
int minor,
int status)
Construct a SystemException corresponding to the specified CORBA exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
minor
public int minor
- A code that provides more information about the system exception.
status
public int status
- COMPLETED_YES, COMPLETED_NO, or COMPLETED_MAYBE.
SystemException
public SystemException(java.lang.String reason)
- Construct a SystemException corresponding to the specified CORBA exception.
Set the status to COMPLETED_NO and the minor code to 0.
- Parameters:
type
- A string that describes the CORBA exception.
SystemException
public SystemException(java.lang.String reason,
int minor,
int status)
- Construct a SystemException corresponding to the specified CORBA exception.
- Parameters:
type
- A string that describes the CORBA exception type.minor
- The minor code.status
- The completion status.
(c) Copyright 1997-1999 ObjectSpace, Inc.
14850 Quorum Drive, Suite 500
Dallas, Texas 75240