Enum Class RunTimeError

java.lang.Object
java.lang.Enum<RunTimeError>
uk.ac.manchester.spinnaker.messages.model.RunTimeError
All Implemented Interfaces:
Serializable, Comparable<RunTimeError>, Constable

public enum RunTimeError extends Enum<RunTimeError>
SARK Run time errors.
  • Enum Constant Details

    • NONE

      public static final RunTimeError NONE
      No error.
    • RESET

      public static final RunTimeError RESET
      Branch through zero.
    • UNDEF

      public static final RunTimeError UNDEF
      Undefined instruction.
    • SVC

      public static final RunTimeError SVC
      Undefined SVC or no handler.
    • PABT

      public static final RunTimeError PABT
      Prefetch abort.
    • DABT

      public static final RunTimeError DABT
      Data abort.
    • IRQ

      public static final RunTimeError IRQ
      Unhandled IRQ.
    • FIQ

      public static final RunTimeError FIQ
      Unhandled FIQ.
    • VIC

      public static final RunTimeError VIC
      Unconfigured VIC vector.
    • ABORT

      public static final RunTimeError ABORT
      Generic user abort.
    • MALLOC

      public static final RunTimeError MALLOC
      "malloc" failure.
    • DIVBY0

      public static final RunTimeError DIVBY0
      Divide by zero.
    • EVENT

      public static final RunTimeError EVENT
      Event startup failure.
    • SWERR

      public static final RunTimeError SWERR
      Fatal SW error.
    • IOBUF

      public static final RunTimeError IOBUF
      Failed to allocate IO buffer.
    • ENABLE

      public static final RunTimeError ENABLE
      Bad event enable.
    • NULL

      public static final RunTimeError NULL
      Generic null pointer error.
    • PKT

      public static final RunTimeError PKT
      Pkt startup failure.
    • TIMER

      public static final RunTimeError TIMER
      Timer startup failure.
    • API

      public static final RunTimeError API
      API startup failure.
    • SARK_VERSION_INCORRECT

      public static final RunTimeError SARK_VERSION_INCORRECT
      SW version conflict.
  • Field Details

    • value

      public final int value
      The SCAMP RTE code.
  • Method Details

    • values

      public static RunTimeError[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RunTimeError valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • get

      public static RunTimeError get(int value)
      Parse a SCAMP RTE code.
      Parameters:
      value - the code to parse.
      Returns:
      The enum element.