Package edu.wpi.first.wpilibj
Class Relay.InvalidValueException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.wpi.first.wpilibj.Relay.InvalidValueException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Relay
public static class Relay.InvalidValueException extends RuntimeException
This class represents errors in trying to set relay values contradictory to the direction to which the relay is set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidValueException(String message)
Create a new exception with the given message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidValueException
public InvalidValueException(String message)
Create a new exception with the given message.- Parameters:
message
- the message to pass with the exception
-
-