Skip to content

Commit

Permalink
[epilogue] Add missing docs (#6844)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul authored Jul 17, 2024
1 parent e5b7cf4 commit f62a055
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,7 @@ public class EpilogueConfiguration {
* string.
*/
public String root = "Robot";

/** Default constructor. */
public EpilogueConfiguration() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

/** Null data logger implementation that logs nothing. */
public class NullLogger implements DataLogger {
/** Default constructor. */
public NullLogger() {}

@Override
public DataLogger getSubLogger(String path) {
// Since a sublogger would still log nothing and has no state, we can just return the same
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* code.
*/
public class CrashOnError implements ErrorHandler {
/** Default constructor. */
public CrashOnError() {}

@Override
public void handle(Throwable exception, ClassSpecificLogger<?> logger) {
throw new RuntimeException(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

/** An error handler implementation that prints error information to the console. */
public class ErrorPrinter implements ErrorHandler {
/** Default constructor. */
public ErrorPrinter() {}

@Override
public void handle(Throwable exception, ClassSpecificLogger<?> logger) {
System.err.println(
Expand Down

0 comments on commit f62a055

Please sign in to comment.