cad.simcad.pathfinding.path
Class PathException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--cad.simcad.pathfinding.path.PathException
All Implemented Interfaces:
java.io.Serializable

public class PathException
extends java.lang.Exception

Version:
1.0
Author:
Charles-Philip Bentley
See Also:
Serialized Form

Field Summary
static int DEST
           
static int ORIGIN
           
 
Constructor Summary
PathException(Path p, int code)
          Creates new PathException without detail message.
PathException(java.lang.String msg)
          Constructs an PathException with the specified detail message.
 
Method Summary
 int getCode()
           
 Path getPath()
           
 
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
 

Field Detail

ORIGIN

public static final int ORIGIN
See Also:
Constant Field Values

DEST

public static final int DEST
See Also:
Constant Field Values
Constructor Detail

PathException

public PathException(Path p,
                     int code)
Creates new PathException without detail message.


PathException

public PathException(java.lang.String msg)
Constructs an PathException with the specified detail message.

Parameters:
msg - the detail message.
Method Detail

getPath

public Path getPath()

getCode

public int getCode()

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be