public ErrorData(Map<String, String> map, String prefix) {

		if( map.containsKey(prefix + "errorId") ) {
			this.errorId = Integer.valueOf(map.get(prefix + "errorId"));
		}
		if( map.containsKey(prefix + "domain") ) {
			this.domain = map.get(prefix + "domain");
		}
		if( map.containsKey(prefix + "subdomain") ) {
			this.subdomain = map.get(prefix + "subdomain");
		}
		if( map.containsKey(prefix + "severity") ) {
			this.severity = ErrorSeverity.valueOf( map.get(prefix + "severity") );
		}
		if( map.containsKey(prefix + "category") ) {
			this.category = ErrorCategory.valueOf( map.get(prefix + "category") );
		}
		if( map.containsKey(prefix + "message") ) {
			this.message = map.get(prefix + "message");
		}
		if( map.containsKey(prefix + "exceptionId") ) {
			this.exceptionId = map.get(prefix + "exceptionId");
		}
		for(int i=0; i<10; i++) {
			if( map.containsKey(prefix + "parameter" + '(' + i + ')') ) {
				String newPrefix = prefix + "parameter" + '(' + i + ')' + '.';
				this.parameter.add(new ErrorParameter(map, newPrefix));
			}
		}
	}