|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.omg.CORBA.SystemException
public abstract class SystemException
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
extends
java.lang.RuntimeException
; thus none of the
SystemException
exceptions need to be
declared in signatures of the Java methods mapped from operations in
IDL interfaces.
Field Summary | |
---|---|
CompletionStatus |
completed
The status of the operation that threw this exception. |
int |
minor
The CORBA Exception minor code. |
Constructor Summary | |
---|---|
protected |
SystemException(String reason,
int minor,
CompletionStatus completed)
Constructs a SystemException exception with the specified detail
message, minor code, and completion status. |
Method Summary | |
---|---|
String |
toString()
Converts this exception to a representative string. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int minor
public CompletionStatus completed
Constructor Detail |
---|
protected SystemException(String reason, int minor, CompletionStatus completed)
SystemException
exception with the specified detail
message, minor code, and completion status.
A detail message is a String that describes this particular exception.
reason
- the String containing a detail messageminor
- the minor codecompleted
- the completion statusMethod Detail |
---|
public String toString()
toString
in class Throwable
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.