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:
    java.io.Serializable
  Enclosing class:
    Relay

      public class Relay.InvalidValueException
      extends java.lang.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 and Description
    `InvalidValueException(java.lang.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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### InvalidValueException

          public InvalidValueException(java.lang.String message)

      Create a new exception with the given message.
      Parameters:
        `message` - the message to pass with the exception