diff --git a/src/main/java/com/slicingdice/jslicer/core/HandlerResponse.java b/src/main/java/com/slicingdice/jslicer/core/HandlerResponse.java index 3773c29..c0cec70 100644 --- a/src/main/java/com/slicingdice/jslicer/core/HandlerResponse.java +++ b/src/main/java/com/slicingdice/jslicer/core/HandlerResponse.java @@ -115,6 +115,8 @@ private void raiseError(final JSONObject error) { throw new AccountBannedException(message); case 33: throw new AccountDisabledException(message); + case 39: + throw new IndexInvalidRangeException(message); // Field errors (40 - 59) case 40: throw new FieldMissingParamException(message); diff --git a/src/main/java/com/slicingdice/jslicer/exceptions/api/index/IndexInvalidRangeException.java b/src/main/java/com/slicingdice/jslicer/exceptions/api/index/IndexInvalidRangeException.java new file mode 100644 index 0000000..e0164cf --- /dev/null +++ b/src/main/java/com/slicingdice/jslicer/exceptions/api/index/IndexInvalidRangeException.java @@ -0,0 +1,9 @@ +package com.slicingdice.jslicer.exceptions.api.index; + +import com.slicingdice.jslicer.exceptions.api.SlicingDiceException; + +public class IndexInvalidRangeException extends SlicingDiceException { + public IndexInvalidRangeException(final String message) { + super(message); + } +}