1 19 20 package com.sslexplorer.input.validators; 21 22 import com.sslexplorer.boot.PropertyValidator; 23 24 25 30 public class ErrorConstants { 31 32 35 private ErrorConstants() { 36 } 37 38 41 public final static String CATEGORY_NAME = "validation"; 42 43 46 public final static String BUNDLE_NAME = "validators"; 47 48 51 public final static int ERR_INTERNAL_ERROR = 1; 52 53 59 public final static int ERR_INTEGER_OUT_OF_RANGE = 2; 60 61 65 public final static int ERR_NOT_AN_INTEGER = 3; 66 67 72 public static final int ERR_STRING_TOO_SHORT = 4; 73 74 75 80 public static final int ERR_STRING_TOO_LONG = 5; 81 82 86 public static final int ERR_STRING_DOESNT_MATCH_REGEXP = 6; 87 88 92 public static final int ERR_STRING_DOESNT_MATCH_SIMPLE_PATTERN = 7; 93 94 97 public static final int ERR_STRING_ISNT_IP_ADDRESS = 8; 98 99 102 public static final int ERR_STRING_NON_ASCII = 9; 103 104 107 public static final int ERR_STRING_NON_DN = 10; 108 109 112 public static final int ERR_INVALID_BOOLEAN = 11; 113 114 119 public static final int ERR_EMPTY_THEME = 12; 120 123 public static final int ERR_INVALID_THEME = 13; 124 125 129 public static final int ERR_STRING_ISNT_IP_ADDRESS_PATTERN = 14; 130 131 134 public static final int ERR_STRING_ISNT_HOSTNAME_OR_IPADDRESS_WITH_PORT = 15; 135 136 139 public static final int ERR_STRING_ISNT_HOSTNAME_OR_IPADDRESS = 16; 140 } 141 | Popular Tags |