parent
6437478d65
commit
ef8ee12259
|
@ -120,7 +120,7 @@ public abstract class RestRequest extends ContextAndHeaderHolder implements ToXC
|
||||||
try {
|
try {
|
||||||
return Long.parseLong(sValue);
|
return Long.parseLong(sValue);
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
throw new IllegalArgumentException("Failed to parse int parameter [" + key + "] with value [" + sValue + "]", e);
|
throw new IllegalArgumentException("Failed to parse long parameter [" + key + "] with value [" + sValue + "]", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue