jtge.util.grid
Class OutOfBoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjtge.util.grid.OutOfBoundException
All Implemented Interfaces:
java.io.Serializable

public class OutOfBoundException
extends java.lang.RuntimeException

Exception denoting that a coordinate is out of the bound of a grid.

Version:
$Id: OutOfBoundException.java,v 1.2 2005/09/10 14:05:52 mat007 Exp $
Author:
Jean-Laurent Fabre de Morlhon
See Also:
Serialized Form

Constructor Summary
OutOfBoundException(Coordinate coordinate)
          Create a CoordinateOutOfBoundException.
OutOfBoundException(java.lang.String message)
          Create a CoordinateOutOfBoundException.
 
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

OutOfBoundException

public OutOfBoundException(java.lang.String message)
Create a CoordinateOutOfBoundException.

Parameters:
message - an explanation of the error

OutOfBoundException

public OutOfBoundException(Coordinate coordinate)
Create a CoordinateOutOfBoundException.

Parameters:
coordinate - the invalid coordinate


Copyright © 2003-2005 . All Rights Reserved.