forked from TrueCloudLab/frostfs-sdk-java
[#41] Add APE rule serializer
Signed-off-by: Ori Bruk <o.bruk@yadro.com>
This commit is contained in:
parent
532db56f1b
commit
3861eb0dc2
28 changed files with 542 additions and 143 deletions
|
@ -2,6 +2,7 @@ package info.frostfs.sdk.constants;
|
|||
|
||||
public class ErrorConst {
|
||||
public static final String OBJECT_IS_NULL = "object must not be null";
|
||||
public static final String STRING_IS_BLANK = "string must not be blank";
|
||||
public static final String INPUT_PARAM_IS_MISSING = "input parameter is not present";
|
||||
public static final String SOME_PARAM_IS_MISSING = "one of the input parameters is not present";
|
||||
public static final String PARAM_IS_MISSING_TEMPLATE = "param %s is not present";
|
||||
|
@ -51,6 +52,12 @@ public class ErrorConst {
|
|||
public static final String FIELDS_DELIMITER_COMMA = ", ";
|
||||
public static final String FIELDS_DELIMITER_OR = " or ";
|
||||
|
||||
public static final String MARSHAL_SIZE_DIFFERS = "actual data size differs from expected";
|
||||
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 SLICE_IS_TOO_BIG_TEMPLATE = "slice size is too big=%s";
|
||||
public static final String STRING_IS_TOO_BIG_TEMPLATE = "string size is too big=%s";
|
||||
|
||||
private ErrorConst() {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue