Subversion Repositories SmartDukaan

Rev

Rev 21543 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21543 Rev 22998
Line 17... Line 17...
17
		} catch (Throwable e) {
17
		} catch (Throwable e) {
18
			log.error("Exception Code Properties could not be loaded", e);
18
			log.error("Exception Code Properties could not be loaded", e);
19
		}
19
		}
20
	}
20
	}
21
	public static final String getMessage(String code) {
21
	public static final String getMessage(String code) {
22
		String message = properties.getProperty(code) == null ? "" : properties.getProperty(code);
22
		String message = properties.getProperty(code) == null ? code : properties.getProperty(code);
23
		return message;
23
		return message;
24
	}
24
	}
25
}
25
}
26
26