Package org.omg.CORBA
Class UserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
- All Implemented Interfaces:
Serializable,IDLEntity
- Direct Known Subclasses:
AdapterAlreadyExists,AdapterInactive,AdapterNonExistent,AlreadyBound,BadKind,BadServerDefinition,Bounds,Bounds,CannotProceed,DuplicateName,FormatMismatch,ForwardRequest,ForwardRequest,InconsistentTypeCode,InconsistentTypeCode,Invalid,InvalidAddress,InvalidName,InvalidName,InvalidName,InvalidORBid,InvalidPolicy,InvalidSeq,InvalidSlot,InvalidTypeForEncoding,InvalidValue,InvalidValue,NameAlreadyBound,NoContext,NoServant,NoSuchEndPoint,NotEmpty,NotFound,ObjectAlreadyActive,ObjectNotActive,ORBAlreadyRegistered,PolicyError,ServantAlreadyActive,ServantNotActive,ServerAlreadyActive,ServerAlreadyInstalled,ServerAlreadyRegistered,ServerAlreadyUninstalled,ServerHeldDown,ServerNotActive,ServerNotRegistered,TypeMismatch,TypeMismatch,TypeMismatch,UnknownEncoding,UnknownUserException,WrongAdapter,WrongPolicy,WrongTransaction
The root class for CORBA IDL-defined user exceptions.
All CORBA user exceptions are checked exceptions, which
means that they need to
be declared in method signatures.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs aUserExceptionobject.protectedUserException(String reason) Constructs aUserExceptionobject with a detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserException
protected UserException()Constructs aUserExceptionobject. This method is called only by subclasses. -
UserException
Constructs aUserExceptionobject with a detail message. This method is called only by subclasses.- Parameters:
reason- aStringobject giving the reason for this exception
-