org.omg.CORBA
Class Bounds
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.