org.mozilla.util
Class RangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.mozilla.util.RangeException
All Implemented Interfaces:
java.io.Serializable

public class RangeException
extends java.lang.RuntimeException

An RangeException is an exception that is thrown when a value is outside of its acceptable range.

Version:
$Id: RangeException.java,v 1.2 1999/11/06 02:25:56 dmose%mozilla.org Exp $
Author:
The LFC Team (Rob Davis, Paul Kim, Alan Chung, Ray Ryan, etc), David-John Burrowes (he moved it to the AU package)
See Also:
Serialized Form

Constructor Summary
RangeException()
          Constructs an exception with no error string.
RangeException(java.lang.String message)
          Constructs an exception with an error string.
 
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

RangeException

public RangeException()
Constructs an exception with no error string.


RangeException

public RangeException(java.lang.String message)
Constructs an exception with an error string.

Parameters:
message - A message that will hopefully tell someone about the cause of this exception.


Copyright © 2002-2005 Mozilla.org All Rights Reserved.