113 }
114 }
115
116 public static class ExecutionEngineError extends Exception {117 public ExecutionEngineError(String message) {118 super(message);119 }120 }121}
This class is an exception, but its name does not end in Exception
. This could be confusing to consumers of your API.
class BadName extends Exception {
// ...
}
class ActuallyAnException extends Exception {
// ...
}