1 package org.usermanagement.util;
3 import org.springframework.beans.factory.annotation.Value;
4 import org.springframework.context.annotation.PropertySource;
5 import org.springframework.stereotype.Component;
8 @PropertySource(
"classpath:message.properties")
11 @Value(
"${error.code.prefix}")
12 private String errorCodePrefix;
14 @Value(
"${attribute.not.found.code}")
15 private String attributeNotFoundCode;
18 return Integer.parseInt(errorCodePrefix + attributeNotFoundCode);
int getAttributeNotFoundCode()