Enum REVLibError

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<REVLibError>

    public enum REVLibError
    extends java.lang.Enum<REVLibError>
    • Enum Constant Detail

      • kNotImplemented

        public static final REVLibError kNotImplemented
      • kCantFindFirmware

        public static final REVLibError kCantFindFirmware
      • kFirmwareTooOld

        public static final REVLibError kFirmwareTooOld
      • kFirmwareTooNew

        public static final REVLibError kFirmwareTooNew
      • kParamInvalidID

        public static final REVLibError kParamInvalidID
      • kParamMismatchType

        public static final REVLibError kParamMismatchType
      • kParamAccessMode

        public static final REVLibError kParamAccessMode
      • kParamInvalid

        public static final REVLibError kParamInvalid
      • kParamNotImplementedDeprecated

        public static final REVLibError kParamNotImplementedDeprecated
      • kFollowConfigMismatch

        public static final REVLibError kFollowConfigMismatch
      • kSetpointOutOfRange

        public static final REVLibError kSetpointOutOfRange
      • kCANDisconnected

        public static final REVLibError kCANDisconnected
      • kDuplicateCANId

        public static final REVLibError kDuplicateCANId
      • kInvalidCANId

        public static final REVLibError kInvalidCANId
      • kSparkMaxDataPortAlreadyConfiguredDifferently

        public static final REVLibError kSparkMaxDataPortAlreadyConfiguredDifferently
      • kSparkFlexBrushedWithoutDock

        public static final REVLibError kSparkFlexBrushedWithoutDock
    • Field Detail

      • value

        public final int value
    • Method Detail

      • values

        public static REVLibError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (REVLibError c : REVLibError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static REVLibError valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • fromInt

        public static REVLibError fromInt​(int value)