Mark Status*Exception.getStatus() final

This further limits our API.
This commit is contained in:
Eric Anderson 2015-09-16 12:55:17 -07:00
parent 4572b197e0
commit 4cc103ac6a
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ public class StatusException extends Exception {
this.status = status; this.status = status;
} }
public Status getStatus() { public final Status getStatus() {
return status; return status;
} }
} }

View File

@ -46,7 +46,7 @@ public class StatusRuntimeException extends RuntimeException {
this.status = status; this.status = status;
} }
public Status getStatus() { public final Status getStatus() {
return status; return status;
} }
} }