edu.wpi.first.wpilibj.util
Class UncleanStatusException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by edu.wpi.first.wpilibj.util.UncleanStatusException
All Implemented Interfaces:
java.io.Serializable

public final class UncleanStatusException
extends java.lang.IllegalStateException

Exception for bad status codes from the chip object

See Also:
Serialized Form

Constructor Summary
UncleanStatusException()
          Create a new UncleanStatusException
UncleanStatusException(int status)
          Create a new UncleanStatusException
UncleanStatusException(int status, java.lang.String message)
          Create a new UncleanStatusException
UncleanStatusException(java.lang.String message)
          Create a new UncleanStatusException
 
Method Summary
 int getStatus()
          Create a new UncleanStatusException
 
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

UncleanStatusException

public UncleanStatusException(int status,
                              java.lang.String message)
Create a new UncleanStatusException

Parameters:
status - the status code that caused the exception
message - A message describing the exception

UncleanStatusException

public UncleanStatusException(int status)
Create a new UncleanStatusException

Parameters:
status - the status code that caused the exception

UncleanStatusException

public UncleanStatusException(java.lang.String message)
Create a new UncleanStatusException

Parameters:
message - a message describing the exception

UncleanStatusException

public UncleanStatusException()
Create a new UncleanStatusException

Method Detail

getStatus

public int getStatus()
Create a new UncleanStatusException

Returns:
the status code that caused the exception