<BUG>}@Nonnullpublic static ArrayList<Notice> getAllErrors(@Nullable ArrayList<Notice> notices) {</BUG><CONTEXT>this.message = message;this.type = type;}@Override public String toString() {return type.getValue() + ": " + message;<extra_id_0>if (notices == null) {</CONTEXT>
public boolean isError() { return this.type == Type.ERROR; }public boolean isWarning() { return this.type == Type.WARNING; }public boolean isInfo() { return this.type == Type.INFO; }public static ArrayList<Notice> getAllErrors(@Nonnull ArrayList<Notice> notices) {