[#47] Add APE rule deserializer
All checks were successful
DCO / DCO (pull_request) Successful in 27s
Verify code phase / Verify code (pull_request) Successful in 1m37s

Signed-off-by: Ori Bruk <o.bruk@yadro.com>
This commit is contained in:
Ori Bruk 2025-03-05 11:32:00 +03:00
parent db74919401
commit 39158348dd
21 changed files with 504 additions and 79 deletions

View file

@ -46,11 +46,18 @@ public class ErrorConst {
public static final String FIELDS_DELIMITER_COMMA = ", ";
public static final String FIELDS_DELIMITER_OR = " or ";
public static final String UNSUPPORTED_MARSHALLER_VERSION_TEMPLATE = "unsupported marshaller version %s";
public static final String UNSUPPORTED_CHAIN_VERSION_TEMPLATE = "unsupported chain version %s";
public static final String MARSHAL_SIZE_DIFFERS = "actual data size differs from expected";
public static final String UNMARSHAL_SIZE_DIFFERS = "unmarshalled bytes left";
public static final String BYTES_ARE_OVER_FOR_SERIALIZE_TEMPLATE =
"not enough bytes left to serialize value of type %s with length=%s";
public static final String BYTES_ARE_OVER_FOR_DESERIALIZE_TEMPLATE =
"not enough bytes left to deserialize a value of type %s from offset=%s";
public static final String SLICE_IS_TOO_BIG_TEMPLATE = "slice size is too big=%s";
public static final String SLICE_SIZE_IS_INVALID_TEMPLATE = "invalid slice size=%s";
public static final String STRING_IS_TOO_BIG_TEMPLATE = "string size is too big=%s";
public static final String STRING_SIZE_IS_INVALID_TEMPLATE = "invalid string size=%s";
private ErrorConst() {
}