public class PlannerError extends Object
Constructor and Description |
---|
PlannerError()
An error where no path has been found, but no points are missing
|
PlannerError(boolean np) |
PlannerError(Exception e) |
PlannerError(int id,
String msg) |
PlannerError(List<String> missing) |
PlannerError(Message msg) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getMissing() |
boolean |
getNoPath() |
static boolean |
isPlanningError(Class<?> clazz) |
void |
setMissing(List<String> missing) |
void |
setMsg(Message msg) |
void |
setNoPath(boolean noPath) |
public PlannerError()
public PlannerError(Exception e)
public PlannerError(boolean np)
public PlannerError(Message msg)
public PlannerError(int id, String msg)
public void setMsg(Message msg)
public void setMissing(List<String> missing)
missing
- the list of point names which cannot be found (from, to, intermediate.n)public List<String> getMissing()
public void setNoPath(boolean noPath)
noPath
- whether no path has been foundpublic boolean getNoPath()
public static boolean isPlanningError(Class<?> clazz)
Copyright © 2018. All rights reserved.