"

2013 FRC Java API

"

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

public final class UncleanStatusException
extends IllegalStateException

Exception for bad status codes from the chip object

Author:
Brian

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

UncleanStatusException

public UncleanStatusException(int status,
                              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(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

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"