NORSYS SOFTWARE © 2012 | NETICA API | JAVA   VERSION   5.04  |
|
|||||||||
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 | +--norsys.netica.NeticaException
A java.lang.Exception that holds extra information when Netica reports an error for some attempted operation.
Constructor Summary | |
NeticaException(int errorNumber,
java.lang.String msg)
Constructs a numbered NeticaException with the given error message. |
|
NeticaException(java.lang.String msg)
Constructs a generic NeticaException with the given error message. |
Method Summary | |
java.lang.String |
getMessage()
Returns a formatted String detailing the nature of this exception and listing the NeticaErrors which are responsible for it. |
java.util.Vector |
getNeticaErrors()
Returns a collection of the |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NeticaException ( |
| ) throws NeticaException |
String | msg | A string describing the exception. |
NeticaException ne = new NeticaException( "A problem occurred that cannot be handled at this level." ); throw ne;
public NeticaException ( |
| ) throws NeticaException |
errorNumber must be between 1 and 999, inclusive. Numbers outside of this range are reserved by Netica, and, if used here, will cause an exception to be thrown.
Parameters:
int | errorNumber | A Netica Error code associated with this exception. Must be between 1 and 999, inclusive. | ||
String | msg | A string describing the exception. |
Method Detail |
public String getMessage ( ) |
getMessage
in class java.lang.Throwable
public Vector getNeticaErrors ( ) |
NeticaError
objects describing the faults that are responsible for this exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |