edu.wpi.first.wpilibj.visa
Class VisaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.wpi.first.wpilibj.visa.VisaException
public class VisaException
- extends Exception
Exception class which looks up visa error codes
- Author:
- dtjones
VisaException
public VisaException(String function,
int errorCode)
- Create a new VisaException
- Parameters:
function
- the name of the function which returned the status codeerrorCode
- the status code returned by the function
makeMessage
public static String makeMessage(String function,
int errorCode)
lookUpCode
public static String lookUpCode(int errorCode)
"For updated information see the Java FRC site"