Hi guys,
I am trying to use Astar algorithm and have my code like this:
Path astarPath;
try {
astarPath = astar.getPath();
}
catch (WrongPathException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
To my surprise, the compiler reports the error: The type WrongPathException is
not visible.
But this class does exist at the package org.geotools.graph.path....
What makes my confuse is that I used AstarShortestPahtFinder in another
function in the same class, it does not need to throw this exception.
Can anyone tell me why?
Thx.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users