org.omg.CORBA
Class Bounds

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by org.omg.CORBA.Bounds
All Implemented Interfaces:
Serializable, IDLEntity

public final class Bounds
extends UserException

Thrown when a parameter is outside the bounds for a particular object a method is trying to access.

See Also:
Serialized Form

Constructor Summary
Bounds()
          Constructs a default Bounds exception, with no detail message.
Bounds(String reason)
          Constructs a Bounds exception using the specified message as the reason for throwing it.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bounds

public Bounds()
Constructs a default Bounds exception, with no detail message.


Bounds

public Bounds(String reason)
Constructs a Bounds exception using the specified message as the reason for throwing it.

Parameters:
reason - the reason the exception was thrown.