All Packages Class Hierarchy This Package Previous Next Index
Class org.omg.CORBA.UserException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----org.omg.CORBA.UserException
- public abstract class UserException
- extends Exception
An abstract base class for all exceptions raised by the org.omg.CORBA service
implementors. There is no state associated with these exception
types. Any state is provided sub-classes of this class. The primary
use of this class is to simplify the writing of catch clauses. For
example:
try {
proxy.operation();
}
catch(org.omg.CORBA.SystemException se) {
System.out.println("The runtime failed: " + se);
}
catch(org.omg.CORBA.UserException ue) {
System.out.println("The implementation failed: " + ue);
}
- See Also:
- SystemException
UserException()
-
UserException
public UserException()
All Packages Class Hierarchy This Package Previous Next Index