edu.wpi.first.wpilibj.image
Class NIVisionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.wpi.first.wpilibj.image.NIVisionException
All Implemented Interfaces:
java.io.Serializable

public class NIVisionException
extends java.lang.Exception

Exception class which looks up nivision error codes

Author:
dtjones
See Also:
Serialized Form

Constructor Summary
NIVisionException(int errorCode)
          Create a new vision exception
NIVisionException(java.lang.String msg)
          Create a new NIVisionException.
 
Method Summary
 
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

NIVisionException

public NIVisionException(java.lang.String msg)
Create a new NIVisionException.

Parameters:
msg - The message to pass with the exception describing what caused it.

NIVisionException

public NIVisionException(int errorCode)
Create a new vision exception

Parameters:
errorCode - the bad status code