Package jpigpio

Class WrongModeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
jpigpio.PigpioException
jpigpio.WrongModeException
All Implemented Interfaces:
java.io.Serializable

public class WrongModeException
extends PigpioException
An exception that states that a pin is in the wrong mode.
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getPin

      public int getPin()
      Retrieve the pin that was flagged as being in the wrong mode.
      Returns:
      gpio number
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Throwable