Skip to content

Commit

Permalink
Merge branch 'vd/jinterface-atom-message' into maint
Browse files Browse the repository at this point in the history
* vd/jinterface-atom-message:
  Improve error message when creating a too long OtpErlangAtom

OTP-9928
  • Loading branch information
proxyles committed Feb 16, 2012
2 parents 377672d + 334d636 commit c826b73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public OtpErlangAtom(final String atom) {

if (atom.length() > maxAtomLength) {
throw new java.lang.IllegalArgumentException("Atom may not exceed "
+ maxAtomLength + " characters");
+ maxAtomLength + " characters: " + atom);
}
this.atom = atom;
}
Expand Down

0 comments on commit c826b73

Please sign in to comment.