站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class UserException - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

org.omg.CORBA
Class UserException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.omg.CORBA.UserException
Direct Known Subclasses:
AlreadyBound, BadKind, Bounds, Bounds, CannotProceed, InconsistentTypeCode, Invalid, InvalidName, InvalidName, InvalidSeq, InvalidValue, NotEmpty, NotFound, PolicyError, TypeMismatch, UnknownUserException, WrongTransaction

public abstract class UserException
extends Exception
implements 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()
          Constructs a UserException object.
protected UserException(String reason)
          Constructs a UserException object with a detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserException

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

UserException

protected UserException(String reason)
Constructs a UserException object with a detail message. This method is called only by subclasses.

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.