RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
org.wpilib.util.AlertException Class Reference
Inheritance diagram for org.wpilib.util.AlertException:

Public Member Functions

 AlertException (String message, int reason)
int getReason ()

Detailed Description

Exception thrown to indicate an alert condition with an associated reason code.

Definition at line 8 of file AlertException.java.

Constructor & Destructor Documentation

◆ AlertException()

org.wpilib.util.AlertException.AlertException ( String message,
int reason )

Constructs a new AlertException with the specified detail message and reason code.

Parameters
messagethe detail message
reasonthe reason code associated with this exception

Definition at line 20 of file AlertException.java.

Member Function Documentation

◆ getReason()

int org.wpilib.util.AlertException.getReason ( )

Gets the reason code associated with this exception.

Returns
the reason code

Definition at line 30 of file AlertException.java.


The documentation for this class was generated from the following file: