Package edu.wpi.first.hal.util
Class UncleanStatusException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
edu.wpi.first.hal.util.UncleanStatusException
- All Implemented Interfaces:
Serializable
Exception for bad status codes from the chip object.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate 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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UncleanStatusException
Create a new UncleanStatusException.- Parameters:
status
- the status code that caused the exceptionmessage
- A message describing the exception
-
UncleanStatusException
Create a new UncleanStatusException.- Parameters:
status
- the status code that caused the exception
-
UncleanStatusException
Create a new UncleanStatusException.- Parameters:
message
- a message describing the exception
-
UncleanStatusException
public UncleanStatusException()Create a new UncleanStatusException.
-
-
Method Details
-
getStatus
Create a new UncleanStatusException.- Returns:
- the status code that caused the exception
-