|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.orb.core.SystemExceptionHelper
public abstract class SystemExceptionHelper
This class should be used as the helper for all system exceptions.
Method Summary | |
---|---|
static org.omg.CORBA.SystemException |
create(java.lang.String repo_id,
int minor,
org.omg.CORBA.CompletionStatus completed)
Create a system exception from it's repository ID, minor value and completion status. |
static org.omg.CORBA.SystemException |
create(java.lang.String repo_id,
java.lang.String reasonPrefix,
int minor,
org.omg.CORBA.CompletionStatus completed)
Create a system exception from it's repository ID, minor value and completion status. |
static org.omg.CORBA.SystemException |
extract(org.omg.CORBA.Any any)
Extract a system exception from an any. |
static java.lang.String |
id(org.omg.CORBA.SystemException ex)
Get the repository ID from an exception. |
static void |
insert(org.omg.CORBA.Any any,
org.omg.CORBA.SystemException sysex)
Insert a system exception into an any. |
static org.omg.CORBA.SystemException |
read(org.omg.CORBA.portable.InputStream is)
Read a system exception from an input stream. |
static org.omg.CORBA.SystemException |
read(java.lang.String reasonPrefix,
org.omg.CORBA.portable.InputStream is)
Read a system exception from an input stream. |
static org.omg.CORBA.TypeCode |
type(java.lang.String repo_id)
Get a typecode from a repository ID. |
static org.omg.CORBA.TypeCode |
type(org.omg.CORBA.SystemException ex)
Get a typecode from an exception. |
static void |
write(org.omg.CORBA.portable.OutputStream out,
org.omg.CORBA.SystemException val)
Write a system excpetion to an output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.omg.CORBA.TypeCode type(java.lang.String repo_id)
repo_id
- Repository ID of the system exception.
public static org.omg.CORBA.TypeCode type(org.omg.CORBA.SystemException ex)
ex
- The exception to get the typecode of.
public static java.lang.String id(org.omg.CORBA.SystemException ex)
ex
- the system exception.
public static void insert(org.omg.CORBA.Any any, org.omg.CORBA.SystemException sysex)
any
- the any to get inserted into.sysex
- the system exception to insert into the any.public static org.omg.CORBA.SystemException extract(org.omg.CORBA.Any any)
any
- the any to extract from.
org.omg.CORBA.BAD_OPERATION
- the any does not contain a system exception.public static org.omg.CORBA.SystemException read(org.omg.CORBA.portable.InputStream is)
public static org.omg.CORBA.SystemException read(java.lang.String reasonPrefix, org.omg.CORBA.portable.InputStream is)
reasonPrefix
- prefix to add to the reason string.public static org.omg.CORBA.SystemException create(java.lang.String repo_id, int minor, org.omg.CORBA.CompletionStatus completed)
public static org.omg.CORBA.SystemException create(java.lang.String repo_id, java.lang.String reasonPrefix, int minor, org.omg.CORBA.CompletionStatus completed)
reasonPrefix
- prefix to add to the reason string.public static void write(org.omg.CORBA.portable.OutputStream out, org.omg.CORBA.SystemException val)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |