@EventDoc(module = MODULE_NAME, code = CFG102, desc = "Class is not configurable.") public static AbortRuntimeException CFG102_NOT_CONFIGURABLE(Class<?> clazz) { Event event = new Event(MODULE_NAME, CFG102, MessageFormat.format(CFG102_MSG, clazz.getName())); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG104, desc = "Configurable class have a property of unsupported type.") public static AbortRuntimeException CFG104_UNSUPPORTED_PROPERTY(Class<?> clazz, String property, Class<?> type) { Event event = new Event(MODULE_NAME, CFG104, MessageFormat.format(CFG104_MSG, clazz.getName(), property, type.getName())); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG109, desc = "Bean property have illegal map parameterization.") public static AbortRuntimeException CFG109_ILLEGAL_MAP(String propertyName) { Event event = new Event(MODULE_NAME, CFG109, MessageFormat.format(CFG109_MSG, propertyName)); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG111, desc = "Bean have reference that does not exist in schema.") public static AbortRuntimeException CFG111_REF_NOT_EXIST_IN_SCHEMA(String referenceName) { Event event = new Event(MODULE_NAME, CFG111, MessageFormat.format(CFG111_MSG, referenceName)); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG102, desc = "Class is not configurable.") public static AbortRuntimeException CFG102_NOT_CONFIGURABLE(Class<?> clazz) { Event event = new Event(MODULE_NAME, CFG102, MessageFormat.format(CFG102_MSG, clazz.getName())); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG110, desc = "Bean have property that does not exist in schema.") public static AbortRuntimeException CFG110_PROP_NOT_EXIST_IN_SCHEMA(String propertyName) { Event event = new Event(MODULE_NAME, CFG110, MessageFormat.format(CFG110_MSG, propertyName)); return new AbortRuntimeException(event); }
@EventDoc( module = MODULE_NAME, code = CFG302, desc = "One or more beans cannot be deleted beacuse of existing references from other beans. ") public static AbortRuntimeException CFG302_CANNOT_DELETE_BEAN(Collection<BeanId> id) { Event event = new Event(MODULE_NAME, CFG302, MessageFormat.format(CFG302_MSG, id)); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG101, desc = "Config schema does not exist.") public static AbortRuntimeException CFG101_SCHEMA_NOT_EXIST(String schemaName) { Event event = new Event(MODULE_NAME, CFG101, MessageFormat.format(CFG101_MSG, schemaName)); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG301, desc = "Bean have a missing references.") public static AbortRuntimeException CFG301_MISSING_RUNTIME_REF(BeanId id, BeanId ref) { Event event = new Event(MODULE_NAME, CFG301, MessageFormat.format(CFG301_MSG_1, id, ref)); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG305, desc = "Property does not exist.") public static AbortRuntimeException CFG305_PROPERTY_DOESNT_EXIST(String propertyName) { Event event = new Event(MODULE_NAME, CFG305, MessageFormat.format(CFG305_MSG, propertyName)); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG309, desc = "Bean application validation failed.") public static AbortRuntimeException CFG309_VALIDATION_ERROR(String msg) { Event event = new Event(MODULE_NAME, CFG309, MessageFormat.format(CFG309_MSG, msg)); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG089, desc = CFG089_MSG) public static AbortRuntimeException CFG089_MODIFICATION_CONFLICT() { Event event = new Event(MODULE_NAME, CFG089, CFG089_MSG); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG106, desc = "Bean have a property value of invalid multiplicity type according to schema.") public static AbortRuntimeException CFG106_WRONG_MULTIPLICITY_TYPE(BeanId id, String propertyName) { Event event = new Event(MODULE_NAME, CFG106, MessageFormat.format(CFG106_MSG, id, propertyName)); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG109, desc = "Bean property have illegal map parameterization.") public static AbortRuntimeException CFG109_ILLEGAL_MAP(String propertyName) { Event event = new Event(MODULE_NAME, CFG109, MessageFormat.format(CFG109_MSG, propertyName)); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG089, desc = CFG089_MSG) public static AbortRuntimeException CFG089_MODIFICATION_CONFLICT() { Event event = new Event(MODULE_NAME, CFG089, CFG089_MSG); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG107, desc = CFG107_MSG) public static AbortRuntimeException CFG107_MISSING_ID() { Event event = new Event(MODULE_NAME, CFG106, CFG107_MSG); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG306, desc = "Property is not mutable.") public static AbortRuntimeException CFG306_PROPERTY_IMMUTABLE(BeanId id, String propertyName) { Event event = new Event(MODULE_NAME, CFG306, MessageFormat.format(CFG306_MSG, id, propertyName)); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG105, desc = "Bean have property value that does not match schema.") public static AbortRuntimeException CFG105_WRONG_PROPERTY_TYPE(BeanId id, String propertyName, String type, String value) { Event event = new Event(MODULE_NAME, CFG105, MessageFormat.format(CFG105_MSG, id, type + "@" + propertyName, value)); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG108, desc = CFG108_MSG) public static AbortRuntimeException CFG108_ILLEGAL_MODIFIERS(Field field) { Event event = new Event(MODULE_NAME, CFG108, MessageFormat.format(CFG108_MSG, field.toString())); return new AbortRuntimeException(event); }
@EventDoc(module = MODULE_NAME, code = CFG303, desc = "Bean with same identification already exist.") public static AbortRuntimeException CFG303_BEAN_ALREADY_EXIST(BeanId id) { Event event = new Event(MODULE_NAME, CFG303, MessageFormat.format(CFG303_MSG, id.getInstanceId())); return new AbortRuntimeException(event); }