Skip to content

Commit

Permalink
Make Java CHIP exceptions RuntimeExceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
austinh0 committed Sep 28, 2021
1 parent 9861b10 commit 1beb68f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package chip.devicecontroller;

/** Exception class holding error codes defined by clusters. */
public class ChipClusterException extends Exception {
public class ChipClusterException extends RuntimeException {
private static final long serialVersionUID = 1L;

public int errorCode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package chip.devicecontroller;

/** Exception thrown from CHIPDeviceController. */
public class ChipDeviceControllerException extends Exception {
public class ChipDeviceControllerException extends RuntimeException {
private static final long serialVersionUID = 1L;

public int errorCode;
Expand Down

0 comments on commit 1beb68f

Please sign in to comment.