diff options
author | Henrik Nord <[email protected]> | 2012-02-16 12:21:55 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-02-16 12:22:01 +0100 |
commit | c826b7309e57e33b1209d5b6c0f15a0e26122729 (patch) | |
tree | 589893b74dba69fe47e4e0ad41b96e4ce1b1ace1 /lib/jinterface/java_src/com | |
parent | 377672dbef977595bdfa8182f1eacac043753e74 (diff) | |
parent | 334d63651255887a05c0dacebc370ed4b960dc89 (diff) | |
download | otp-c826b7309e57e33b1209d5b6c0f15a0e26122729.tar.gz otp-c826b7309e57e33b1209d5b6c0f15a0e26122729.tar.bz2 otp-c826b7309e57e33b1209d5b6c0f15a0e26122729.zip |
Merge branch 'vd/jinterface-atom-message' into maint
* vd/jinterface-atom-message:
Improve error message when creating a too long OtpErlangAtom
OTP-9928
Diffstat (limited to 'lib/jinterface/java_src/com')
-rw-r--r-- | lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangAtom.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangAtom.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangAtom.java index 4d53447164..60eef7a126 100644 --- a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangAtom.java +++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangAtom.java @@ -53,7 +53,7 @@ public class OtpErlangAtom extends OtpErlangObject implements Serializable, if (atom.length() > maxAtomLength) { throw new java.lang.IllegalArgumentException("Atom may not exceed " - + maxAtomLength + " characters"); + + maxAtomLength + " characters: " + atom); } this.atom = atom; } |