- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.omg.CORBA.SystemException
-
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ACTIVITY_COMPLETED, ACTIVITY_REQUIRED, BAD_CONTEXT, BAD_INV_ORDER, BAD_OPERATION, BAD_PARAM, BAD_QOS, BAD_TYPECODE, CODESET_INCOMPATIBLE, COMM_FAILURE, DATA_CONVERSION, FREE_MEM, IMP_LIMIT, IndirectionException, INITIALIZE, INTERNAL, INTF_REPOS, INV_FLAG, INV_IDENT, INV_OBJREF, INV_POLICY, INVALID_ACTIVITY, INVALID_TRANSACTION, MARSHAL, NO_IMPLEMENT, NO_MEMORY, NO_PERMISSION, NO_RESOURCES, NO_RESPONSE, OBJ_ADAPTER, OBJECT_NOT_EXIST, PERSIST_STORE, REBIND, TIMEOUT, TRANSACTION_MODE, TRANSACTION_REQUIRED, TRANSACTION_ROLLEDBACK, TRANSACTION_UNAVAILABLE, TRANSIENT, UNKNOWN, UnknownException
public abstract class SystemException extends RuntimeException
The root class for all CORBA standard exceptions. These exceptions may be thrown as a result of any CORBA operation invocation and may also be returned by many standard CORBA API methods. The standard exceptions contain a minor code, allowing more detailed specification, and a completion status. This class is subclassed to generate each one of the set of standard ORB exceptions.SystemException
extendsjava.lang.RuntimeException
; thus none of theSystemException
exceptions need to be declared in signatures of the Java methods mapped from operations in IDL interfaces.- See Also:
- documentation on Java IDL exceptions
-
-
Field Summary
Fields Modifier and Type Field and Description CompletionStatus
completed
The status of the operation that threw this exception.int
minor
The CORBA Exception minor code.
-
Constructor Summary
Constructors Modifier Constructor and Description protected
SystemException(String reason, int minor, CompletionStatus completed)
Constructs aSystemException
exception with the specified detail message, minor code, and completion status.
-
Method Summary
Methods Modifier and Type Method and Description String
toString()
Converts this exception to a representative string.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
minor
public int minor
The CORBA Exception minor code.
-
completed
public CompletionStatus completed
The status of the operation that threw this exception.
-
-
Constructor Detail
-
SystemException
protected SystemException(String reason, int minor, CompletionStatus completed)
Constructs aSystemException
exception with the specified detail message, minor code, and completion status. A detail message is a String that describes this particular exception.- Parameters:
reason
- the String containing a detail messageminor
- the minor codecompleted
- the completion status
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-org/omg/corba/systemexception.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.