/**
* Creates a copy of the DecodeError
*/
public DecodeError clone() {
long ret = bindings.DecodeError_clone(this.ptr);
/**
* Creates a copy of the DecodeError
*/
public DecodeError clone() {
long ret = bindings.DecodeError_clone(this.ptr);
- DecodeError ret_hu_conv = new DecodeError(null, ret);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ DecodeError ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new DecodeError(null, ret); }