2010 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
 
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

2010 FRC Java API


Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.