|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
edu.wpi.first.wpilibj.visa.VisaException
public class VisaException
Exception class which looks up visa error codes
| Constructor Summary | |
|---|---|
VisaException(java.lang.String function,
int errorCode)
Create a new VisaException |
|
| Method Summary | |
|---|---|
static java.lang.String |
lookUpCode(int errorCode)
|
static java.lang.String |
makeMessage(java.lang.String function,
int errorCode)
|
| 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 |
| Constructor Detail |
|---|
public VisaException(java.lang.String function,
int errorCode)
function - the name of the function which returned the status codeerrorCode - the status code returned by the function| Method Detail |
|---|
public static java.lang.String makeMessage(java.lang.String function,
int errorCode)
public static java.lang.String lookUpCode(int errorCode)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||