All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ibt.ortc.extensibility.exception.OrtcMaxLengthException Maven / Gradle / Ivy

There is a newer version: 2.1.44
Show newest version
/**
 * @fileoverview This file contains the implementation of the connection metadata max length exception
 * @author ORTC team members ([email protected]) 
 */
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));
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy