RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
DriverStationErrors.java
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5package org.wpilib.driverstation;
6
7import org.wpilib.driverstation.internal.DriverStationBackend;
8
10public final class DriverStationErrors {
11 private DriverStationErrors() {}
12
19 public static void reportError(String error, boolean printTrace) {
20 DriverStationBackend.reportError(error, printTrace);
21 }
22
29 public static void reportError(String error, StackTraceElement[] stackTrace) {
30 DriverStationBackend.reportError(error, stackTrace);
31 }
32
39 public static void reportWarning(String warning, boolean printTrace) {
40 DriverStationBackend.reportWarning(warning, printTrace);
41 }
42
49 public static void reportWarning(String warning, StackTraceElement[] stackTrace) {
50 DriverStationBackend.reportWarning(warning, stackTrace);
51 }
52
59 public static void reportCrash(String details, StackTraceElement[] stackTrace) {
60 DriverStationBackend.reportCrash(details, stackTrace);
61 }
62}
static void reportError(String error, StackTraceElement[] stackTrace)
static void reportWarning(String warning, StackTraceElement[] stackTrace)
static void reportCrash(String details, StackTraceElement[] stackTrace)
static void reportWarning(String warning, boolean printTrace)
static void reportError(String error, boolean printTrace)
static void reportCrash(String error, StackTraceElement[] stackTrace)
static void reportWarning(String warning, boolean printTrace)
static void reportError(String error, boolean printTrace)