"

2013 FRC Java API

"

edu.wpi.first.wpilibj.visa
Class VisaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.wpi.first.wpilibj.visa.VisaException

public class VisaException
extends Exception

Exception class which looks up visa error codes

Author:
dtjones

Constructor Summary
VisaException(String function, int errorCode)
          Create a new VisaException
 
Method Summary
static String lookUpCode(int errorCode)
           
static String makeMessage(String function, int errorCode)
           
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VisaException

public VisaException(String function,
                     int errorCode)
Create a new VisaException

Parameters:
function - the name of the function which returned the status code
errorCode - the status code returned by the function
Method Detail

makeMessage

public static String makeMessage(String function,
                                 int errorCode)

lookUpCode

public static String lookUpCode(int errorCode)

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"