org.omg.CORBA
Class UserException

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 org.omg.CORBA.UserException
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity
Direct Known Subclasses:
AdapterAlreadyExists sample code for org.omg.PortableServer.POAPackage.AdapterAlreadyExists definition code for org.omg.PortableServer.POAPackage.AdapterAlreadyExists , AdapterInactive sample code for org.omg.PortableServer.POAManagerPackage.AdapterInactive definition code for org.omg.PortableServer.POAManagerPackage.AdapterInactive , AdapterNonExistent sample code for org.omg.PortableServer.POAPackage.AdapterNonExistent definition code for org.omg.PortableServer.POAPackage.AdapterNonExistent , AlreadyBound sample code for org.omg.CosNaming.NamingContextPackage.AlreadyBound definition code for org.omg.CosNaming.NamingContextPackage.AlreadyBound , BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind , Bounds sample code for org.omg.CORBA.Bounds definition code for org.omg.CORBA.Bounds , Bounds sample code for org.omg.CORBA.TypeCodePackage.Bounds definition code for org.omg.CORBA.TypeCodePackage.Bounds , CannotProceed sample code for org.omg.CosNaming.NamingContextPackage.CannotProceed definition code for org.omg.CosNaming.NamingContextPackage.CannotProceed , DuplicateName sample code for org.omg.PortableInterceptor.ORBInitInfoPackage.DuplicateName definition code for org.omg.PortableInterceptor.ORBInitInfoPackage.DuplicateName , FormatMismatch sample code for org.omg.IOP.CodecPackage.FormatMismatch definition code for org.omg.IOP.CodecPackage.FormatMismatch , ForwardRequest sample code for org.omg.PortableInterceptor.ForwardRequest definition code for org.omg.PortableInterceptor.ForwardRequest , ForwardRequest sample code for org.omg.PortableServer.ForwardRequest definition code for org.omg.PortableServer.ForwardRequest , InconsistentTypeCode sample code for org.omg.CORBA.ORBPackage.InconsistentTypeCode definition code for org.omg.CORBA.ORBPackage.InconsistentTypeCode , InconsistentTypeCode sample code for org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode definition code for org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode , Invalid sample code for org.omg.CORBA.DynAnyPackage.Invalid definition code for org.omg.CORBA.DynAnyPackage.Invalid , InvalidAddress sample code for org.omg.CosNaming.NamingContextExtPackage.InvalidAddress definition code for org.omg.CosNaming.NamingContextExtPackage.InvalidAddress , InvalidName sample code for org.omg.CORBA.ORBPackage.InvalidName definition code for org.omg.CORBA.ORBPackage.InvalidName , InvalidName sample code for org.omg.PortableInterceptor.ORBInitInfoPackage.InvalidName definition code for org.omg.PortableInterceptor.ORBInitInfoPackage.InvalidName , InvalidName sample code for org.omg.CosNaming.NamingContextPackage.InvalidName definition code for org.omg.CosNaming.NamingContextPackage.InvalidName , InvalidPolicy sample code for org.omg.PortableServer.POAPackage.InvalidPolicy definition code for org.omg.PortableServer.POAPackage.InvalidPolicy , InvalidSeq sample code for org.omg.CORBA.DynAnyPackage.InvalidSeq definition code for org.omg.CORBA.DynAnyPackage.InvalidSeq , InvalidSlot sample code for org.omg.PortableInterceptor.InvalidSlot definition code for org.omg.PortableInterceptor.InvalidSlot , InvalidTypeForEncoding sample code for org.omg.IOP.CodecPackage.InvalidTypeForEncoding definition code for org.omg.IOP.CodecPackage.InvalidTypeForEncoding , InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue , InvalidValue sample code for org.omg.DynamicAny.DynAnyPackage.InvalidValue definition code for org.omg.DynamicAny.DynAnyPackage.InvalidValue , NoContext sample code for org.omg.PortableServer.CurrentPackage.NoContext definition code for org.omg.PortableServer.CurrentPackage.NoContext , NoServant sample code for org.omg.PortableServer.POAPackage.NoServant definition code for org.omg.PortableServer.POAPackage.NoServant , NotEmpty sample code for org.omg.CosNaming.NamingContextPackage.NotEmpty definition code for org.omg.CosNaming.NamingContextPackage.NotEmpty , NotFound sample code for org.omg.CosNaming.NamingContextPackage.NotFound definition code for org.omg.CosNaming.NamingContextPackage.NotFound , ObjectAlreadyActive sample code for org.omg.PortableServer.POAPackage.ObjectAlreadyActive definition code for org.omg.PortableServer.POAPackage.ObjectAlreadyActive , ObjectNotActive sample code for org.omg.PortableServer.POAPackage.ObjectNotActive definition code for org.omg.PortableServer.POAPackage.ObjectNotActive , PolicyError sample code for org.omg.CORBA.PolicyError definition code for org.omg.CORBA.PolicyError , ServantAlreadyActive sample code for org.omg.PortableServer.POAPackage.ServantAlreadyActive definition code for org.omg.PortableServer.POAPackage.ServantAlreadyActive , ServantNotActive sample code for org.omg.PortableServer.POAPackage.ServantNotActive definition code for org.omg.PortableServer.POAPackage.ServantNotActive , TypeMismatch sample code for org.omg.IOP.CodecPackage.TypeMismatch definition code for org.omg.IOP.CodecPackage.TypeMismatch , TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch , TypeMismatch sample code for org.omg.DynamicAny.DynAnyPackage.TypeMismatch definition code for org.omg.DynamicAny.DynAnyPackage.TypeMismatch , UnknownEncoding sample code for org.omg.IOP.CodecFactoryPackage.UnknownEncoding definition code for org.omg.IOP.CodecFactoryPackage.UnknownEncoding , UnknownUserException sample code for org.omg.CORBA.UnknownUserException definition code for org.omg.CORBA.UnknownUserException , WrongAdapter sample code for org.omg.PortableServer.POAPackage.WrongAdapter definition code for org.omg.PortableServer.POAPackage.WrongAdapter , WrongPolicy sample code for org.omg.PortableServer.POAPackage.WrongPolicy definition code for org.omg.PortableServer.POAPackage.WrongPolicy , WrongTransaction sample code for org.omg.CORBA.WrongTransaction definition code for org.omg.CORBA.WrongTransaction

public abstract class UserException
extends Exception sample code for java.lang.Exception definition code for java.lang.Exception
implements IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity

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.

See Also:
documentation on Java IDL exceptions, Serialized Form

Constructor Summary
protected UserException sample code for org.omg.CORBA.UserException.UserException() definition code for org.omg.CORBA.UserException.UserException() ()
          Constructs a UserException object.
protected UserException sample code for org.omg.CORBA.UserException.UserException(java.lang.String) definition code for org.omg.CORBA.UserException.UserException(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  reason)
          Constructs a UserException object with a detail message.
 
Method Summary
 
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[]) , toString sample code for java.lang.Throwable.toString() definition code for java.lang.Throwable.toString()
 
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)
 

Constructor Detail

UserException sample code for org.omg.CORBA.UserException() definition code for org.omg.CORBA.UserException()

protected UserException()
Constructs a UserException object. This method is called only by subclasses.


UserException sample code for org.omg.CORBA.UserException(java.lang.String) definition code for org.omg.CORBA.UserException(java.lang.String)

protected UserException(String sample code for java.lang.String definition code for java.lang.String  reason)
Constructs a UserException object with a detail message. This method is called only by subclasses.

Parameters:
reason - a String object giving the reason for this exception