Enum Class RunTimeError
- All Implemented Interfaces:
Serializable
,Comparable<RunTimeError>
,Constable
SARK Run time errors.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGeneric user abort.API startup failure.Data abort.Divide by zero.Bad event enable.Event startup failure.Unhandled FIQ.Failed to allocate IO buffer.Unhandled IRQ."malloc" failure.No error.Generic null pointer error.Prefetch abort.Pkt startup failure.Branch through zero.SW version conflict.Undefined SVC or no handler.Fatal SW error.Timer startup failure.Undefined instruction.Unconfigured VIC vector. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic RunTimeError
get
(int value) Parse a SCAMP RTE code.static RunTimeError
Returns the enum constant of this class with the specified name.static RunTimeError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No error. -
RESET
Branch through zero. -
UNDEF
Undefined instruction. -
SVC
Undefined SVC or no handler. -
PABT
Prefetch abort. -
DABT
Data abort. -
IRQ
Unhandled IRQ. -
FIQ
Unhandled FIQ. -
VIC
Unconfigured VIC vector. -
ABORT
Generic user abort. -
MALLOC
"malloc" failure. -
DIVBY0
Divide by zero. -
EVENT
Event startup failure. -
SWERR
Fatal SW error. -
IOBUF
Failed to allocate IO buffer. -
ENABLE
Bad event enable. -
NULL
Generic null pointer error. -
PKT
Pkt startup failure. -
TIMER
Timer startup failure. -
API
API startup failure. -
SARK_VERSION_INCORRECT
SW version conflict.
-
-
Field Details
-
value
public final int valueThe SCAMP RTE code.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
get
Parse a SCAMP RTE code.- Parameters:
value
- the code to parse.- Returns:
- The enum element.
-