ScriptException
package com.zitlab.palmyra.api2db.exception
class - ScriptException
Using ScriptException, the developer can validate and return specific error codes in the respose.
public ScriptException(int httpStatus, int errorCode,String message) {
super(message);
this.httpCode = httpStatus;
this.errorCode = errorCode;
}