format.getOption()+ ((format.getParameters().length > 1) ? " part "+type.getName() : "")+ " does not match pattern '"+ type.pattern.pattern()+"'",
format.getOption() + ((format.getParameters().length > 1) ? " part " + type.getName() : "") + " does not match pattern '" + type.pattern.pattern() + "'",
format.getOption()+ ((format.getParameters().length > 1) ? " part "+type.getName() : "")+ " does not match pattern '"+ type.pattern.pattern()+"'",
public ArgumentParseException(int position, String value, ArgumentFormat parameterFormat, ArgumentParameter parameterFormatDetail) { super((value != null) ? "Invalid value '" + value + "' at position " + position : "Mandatory parameter " + ((parameterFormat == null) ? "<unknown>" : parameterFormat.getOption()) + "(" + ((parameterFormatDetail == null) ? "<unknown>" : parameterFormatDetail.getName()) + ") not specified", position); this.parameterFormat = parameterFormat; this.parameterFormatDetail = parameterFormatDetail; this.value = value; }
public ArgumentParseException(int position, String value, ArgumentFormat parameterFormat, ArgumentParameter parameterFormatDetail) { super((value != null) ? "Invalid value '"+value+"' at position "+position : "Mandatory parameter "+((parameterFormat == null) ? "<unknown>" : parameterFormat.getOption())+"("+ ((parameterFormatDetail == null) ? "<unknown>" : parameterFormatDetail.getName())+") not specified", position); this.parameterFormat = parameterFormat; this.parameterFormatDetail = parameterFormatDetail; this.value = value; }
public ArgumentParseException(int position, String value, ArgumentFormat parameterFormat, ArgumentParameter parameterFormatDetail) { super((value != null) ? "Invalid value '"+value+"' at position "+position : "Mandatory parameter "+parameterFormat.getOption()+"("+ parameterFormatDetail.getName()+") not specified", position); this.parameterFormat = parameterFormat; this.parameterFormatDetail = parameterFormatDetail; this.value = value; }