org.omg.CORBA
Class SystemException

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.lang.Throwable sample code for java.lang.Throwable definition code for java.lang.Throwable 
      extended by java.lang.Exception sample code for java.lang.Exception definition code for java.lang.Exception 
          extended by java.lang.RuntimeException sample code for java.lang.RuntimeException definition code for java.lang.RuntimeException 
              extended by org.omg.CORBA.SystemException
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable
Direct Known Subclasses:
ACTIVITY_COMPLETED sample code for org.omg.CORBA.ACTIVITY_COMPLETED definition code for org.omg.CORBA.ACTIVITY_COMPLETED , ACTIVITY_REQUIRED sample code for org.omg.CORBA.ACTIVITY_REQUIRED definition code for org.omg.CORBA.ACTIVITY_REQUIRED , BAD_CONTEXT sample code for org.omg.CORBA.BAD_CONTEXT definition code for org.omg.CORBA.BAD_CONTEXT , BAD_INV_ORDER sample code for org.omg.CORBA.BAD_INV_ORDER definition code for org.omg.CORBA.BAD_INV_ORDER , BAD_OPERATION sample code for org.omg.CORBA.BAD_OPERATION definition code for org.omg.CORBA.BAD_OPERATION , BAD_PARAM sample code for org.omg.CORBA.BAD_PARAM definition code for org.omg.CORBA.BAD_PARAM , BAD_QOS sample code for org.omg.CORBA.BAD_QOS definition code for org.omg.CORBA.BAD_QOS , BAD_TYPECODE sample code for org.omg.CORBA.BAD_TYPECODE definition code for org.omg.CORBA.BAD_TYPECODE , CODESET_INCOMPATIBLE sample code for org.omg.CORBA.CODESET_INCOMPATIBLE definition code for org.omg.CORBA.CODESET_INCOMPATIBLE , COMM_FAILURE sample code for org.omg.CORBA.COMM_FAILURE definition code for org.omg.CORBA.COMM_FAILURE , DATA_CONVERSION sample code for org.omg.CORBA.DATA_CONVERSION definition code for org.omg.CORBA.DATA_CONVERSION , FREE_MEM sample code for org.omg.CORBA.FREE_MEM definition code for org.omg.CORBA.FREE_MEM , IMP_LIMIT sample code for org.omg.CORBA.IMP_LIMIT definition code for org.omg.CORBA.IMP_LIMIT , IndirectionException sample code for org.omg.CORBA.portable.IndirectionException definition code for org.omg.CORBA.portable.IndirectionException , INITIALIZE sample code for org.omg.CORBA.INITIALIZE definition code for org.omg.CORBA.INITIALIZE , INTERNAL sample code for org.omg.CORBA.INTERNAL definition code for org.omg.CORBA.INTERNAL , INTF_REPOS sample code for org.omg.CORBA.INTF_REPOS definition code for org.omg.CORBA.INTF_REPOS , INV_FLAG sample code for org.omg.CORBA.INV_FLAG definition code for org.omg.CORBA.INV_FLAG , INV_IDENT sample code for org.omg.CORBA.INV_IDENT definition code for org.omg.CORBA.INV_IDENT , INV_OBJREF sample code for org.omg.CORBA.INV_OBJREF definition code for org.omg.CORBA.INV_OBJREF , INV_POLICY sample code for org.omg.CORBA.INV_POLICY definition code for org.omg.CORBA.INV_POLICY , INVALID_ACTIVITY sample code for org.omg.CORBA.INVALID_ACTIVITY definition code for org.omg.CORBA.INVALID_ACTIVITY , INVALID_TRANSACTION sample code for org.omg.CORBA.INVALID_TRANSACTION definition code for org.omg.CORBA.INVALID_TRANSACTION , MARSHAL sample code for org.omg.CORBA.MARSHAL definition code for org.omg.CORBA.MARSHAL , NO_IMPLEMENT sample code for org.omg.CORBA.NO_IMPLEMENT definition code for org.omg.CORBA.NO_IMPLEMENT , NO_MEMORY sample code for org.omg.CORBA.NO_MEMORY definition code for org.omg.CORBA.NO_MEMORY , NO_PERMISSION sample code for org.omg.CORBA.NO_PERMISSION definition code for org.omg.CORBA.NO_PERMISSION , NO_RESOURCES sample code for org.omg.CORBA.NO_RESOURCES definition code for org.omg.CORBA.NO_RESOURCES , NO_RESPONSE sample code for org.omg.CORBA.NO_RESPONSE definition code for org.omg.CORBA.NO_RESPONSE , OBJ_ADAPTER sample code for org.omg.CORBA.OBJ_ADAPTER definition code for org.omg.CORBA.OBJ_ADAPTER , OBJECT_NOT_EXIST sample code for org.omg.CORBA.OBJECT_NOT_EXIST definition code for org.omg.CORBA.OBJECT_NOT_EXIST , PERSIST_STORE sample code for org.omg.CORBA.PERSIST_STORE definition code for org.omg.CORBA.PERSIST_STORE , REBIND sample code for org.omg.CORBA.REBIND definition code for org.omg.CORBA.REBIND , TIMEOUT sample code for org.omg.CORBA.TIMEOUT definition code for org.omg.CORBA.TIMEOUT , TRANSACTION_MODE sample code for org.omg.CORBA.TRANSACTION_MODE definition code for org.omg.CORBA.TRANSACTION_MODE , TRANSACTION_REQUIRED sample code for org.omg.CORBA.TRANSACTION_REQUIRED definition code for org.omg.CORBA.TRANSACTION_REQUIRED , TRANSACTION_ROLLEDBACK sample code for org.omg.CORBA.TRANSACTION_ROLLEDBACK definition code for org.omg.CORBA.TRANSACTION_ROLLEDBACK , TRANSACTION_UNAVAILABLE sample code for org.omg.CORBA.TRANSACTION_UNAVAILABLE definition code for org.omg.CORBA.TRANSACTION_UNAVAILABLE , TRANSIENT sample code for org.omg.CORBA.TRANSIENT definition code for org.omg.CORBA.TRANSIENT , UNKNOWN sample code for org.omg.CORBA.UNKNOWN definition code for org.omg.CORBA.UNKNOWN , UnknownException sample code for org.omg.CORBA.portable.UnknownException definition code for org.omg.CORBA.portable.UnknownException

public abstract class SystemException
extends RuntimeException sample code for java.lang.RuntimeException definition code for java.lang.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 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.

See Also:
documentation on Java IDL exceptions, Serialized Form

Field Summary
 CompletionStatus sample code for org.omg.CORBA.CompletionStatus definition code for org.omg.CORBA.CompletionStatus completed sample code for org.omg.CORBA.SystemException.completed definition code for org.omg.CORBA.SystemException.completed
          The status of the operation that threw this exception.
 int minor sample code for org.omg.CORBA.SystemException.minor definition code for org.omg.CORBA.SystemException.minor
          The CORBA Exception minor code.
 
Constructor Summary
protected SystemException sample code for org.omg.CORBA.SystemException.SystemException(java.lang.String, int, org.omg.CORBA.CompletionStatus) definition code for org.omg.CORBA.SystemException.SystemException(java.lang.String, int, org.omg.CORBA.CompletionStatus) (String sample code for java.lang.String definition code for java.lang.String  reason, int minor, CompletionStatus sample code for org.omg.CORBA.CompletionStatus definition code for org.omg.CORBA.CompletionStatus  completed)
          Constructs a SystemException exception with the specified detail message, minor code, and completion status.
 
Method Summary
 String sample code for java.lang.String definition code for java.lang.String toString sample code for org.omg.CORBA.SystemException.toString() definition code for org.omg.CORBA.SystemException.toString() ()
          Converts this exception to a representative string.
 
Methods inherited from class java.lang.Throwable sample code for java.lang.Throwable definition code for java.lang.Throwable
fillInStackTrace sample code for java.lang.Throwable.fillInStackTrace() definition code for java.lang.Throwable.fillInStackTrace() , getCause sample code for java.lang.Throwable.getCause() definition code for java.lang.Throwable.getCause() , getLocalizedMessage sample code for java.lang.Throwable.getLocalizedMessage() definition code for java.lang.Throwable.getLocalizedMessage() , getMessage sample code for java.lang.Throwable.getMessage() definition code for java.lang.Throwable.getMessage() , getStackTrace sample code for java.lang.Throwable.getStackTrace() definition code for java.lang.Throwable.getStackTrace() , initCause sample code for java.lang.Throwable.initCause(java.lang.Throwable) definition code for java.lang.Throwable.initCause(java.lang.Throwable) , printStackTrace sample code for java.lang.Throwable.printStackTrace() definition code for java.lang.Throwable.printStackTrace() , printStackTrace sample code for java.lang.Throwable.printStackTrace(java.io.PrintStream) definition code for java.lang.Throwable.printStackTrace(java.io.PrintStream) , printStackTrace sample code for java.lang.Throwable.printStackTrace(java.io.PrintWriter) definition code for java.lang.Throwable.printStackTrace(java.io.PrintWriter) , setStackTrace sample code for java.lang.Throwable.setStackTrace(java.lang.StackTraceElement[]) definition code for java.lang.Throwable.setStackTrace(java.lang.StackTraceElement[])
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

minor sample code for org.omg.CORBA.SystemException.minor

public int minor
The CORBA Exception minor code.


completed sample code for org.omg.CORBA.SystemException.completed

public CompletionStatus sample code for org.omg.CORBA.CompletionStatus definition code for org.omg.CORBA.CompletionStatus  completed
The status of the operation that threw this exception.

Constructor Detail

SystemException sample code for org.omg.CORBA.SystemException(java.lang.String, int, org.omg.CORBA.CompletionStatus) definition code for org.omg.CORBA.SystemException(java.lang.String, int, org.omg.CORBA.CompletionStatus)

protected SystemException(String sample code for java.lang.String definition code for java.lang.String  reason,
                          int minor,
                          CompletionStatus sample code for org.omg.CORBA.CompletionStatus definition code for org.omg.CORBA.CompletionStatus  completed)
Constructs a SystemException 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 message
minor - the minor code
completed - the completion status
Method Detail

toString sample code for org.omg.CORBA.SystemException.toString() definition code for org.omg.CORBA.SystemException.toString()

public String sample code for java.lang.String definition code for java.lang.String  toString()
Converts this exception to a representative string.

Overrides:
toString sample code for java.lang.Throwable.toString() definition code for java.lang.Throwable.toString() in class Throwable sample code for java.lang.Throwable definition code for java.lang.Throwable
Returns:
a string representation of this throwable.