Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

"
For updated information see the Java FRC site
"