Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 0a3169c

Browse files
committed
add throws comment
1 parent c3f36f1 commit 0a3169c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

auto-api-java/src/main/java/com/highmobility/autoapi/property/PropertyComponentFailure.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public Failure getFailure() {
4747
/**
4848
* @return The failure reason.
4949
* @deprecated use {@link #getFailure()} instead
50+
* @throws CommandParseException if cannot convert from Reason to Failure.Reason
5051
*/
5152
// TODO: 11/5/21 remove Reason deprecations after may 2022
5253
@Deprecated
@@ -71,6 +72,7 @@ public PropertyComponentFailure(Bytes bytes) throws CommandParseException {
7172
* @param failureReason The failure reason.
7273
* @param description The failure description.
7374
* @deprecated use {@link #PropertyComponentFailure(Failure)} instead
75+
* @throws CommandParseException if cannot convert from Reason to Failure.Reason
7476
*/
7577
public PropertyComponentFailure(Reason failureReason, @Nullable String description) throws CommandParseException {
7678
super(IDENTIFIER, 3 + description.length());

0 commit comments

Comments
 (0)