Skip to content

Commit

Permalink
feedback error constant name (bunq#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
tubbynl committed Jun 20, 2018
1 parent 61dee09 commit be155d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/com/bunq/sdk/model/core/UserContextHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public class UserContextHelper extends BunqModel {
/**
* Error constants.
*/
private static final String ERROR_NO_ACTIVE_MONETARY = "No active monetary account found.";
private static final String ERROR_NO_ACTIVE_MONETARY_ACCOUNT_BANK =
"No active monetary account found.";

/**
* Endpoint constants.
Expand Down Expand Up @@ -64,7 +65,7 @@ public MonetaryAccountBank getFirstActiveMonetaryAccountBankByUserId(Integer use
}
}

throw new BunqException(ERROR_NO_ACTIVE_MONETARY);
throw new BunqException(ERROR_NO_ACTIVE_MONETARY_ACCOUNT_BANK);
}

@Override
Expand Down

0 comments on commit be155d7

Please sign in to comment.