Back to project page RealtimeMessaging-Android.
The source code is released under:
MIT License
If you think the Android project RealtimeMessaging-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * @fileoverview This file contains the implementation of the connection metadata max length exception * @author ORTC team members (ortc@ibt.pt) *//*from ww w . j a v a 2 s . c o m*/ package ibt.ortc.extensibility.exception; public class OrtcMaxLengthException extends Exception { /** * */ private static final long serialVersionUID = -8725018736412865917L; public OrtcMaxLengthException(){ super(); } public OrtcMaxLengthException(String field, int maxValue){ // CAUSE: Incomplete elements for String.format super(String.format("%s size exceeds the limit of %d characters", field, maxValue)); } }