|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--edu.columbia.surge.InvalidPathException
This exception is thrown when users feed in an invalid path name into any method that needs to process path names.
Constructor Summary | |
InvalidPathException()
Constructs a new instance of InvalidPathException. |
|
InvalidPathException(java.lang.String[] pathName)
Constructs a new instance of InvalidPathException with a given pathName. |
Method Summary | |
java.lang.String |
toString()
A method to state the error message when this exception is thrown. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public InvalidPathException()
public InvalidPathException(java.lang.String[] pathName)
pathName
- the pathName to be thrown if it is invalid, specified by a
string array of path namesMethod Detail |
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |