// Path: step5_custom-soap-fault/src/main/java/de/jonashackt/tutorial/common/FaultConst.java
// public enum FaultConst {
// 
// 	SUCCESSFULL_PROCESSING("01", "The Weather-Call was successfully processed by the backend."),
// 	SCHEME_VALIDATION_ERROR("07", "XML-Scheme-validiation failed."),
// 	SYNTACTICALLY_INCORRECT_XML_ERROR("08", "Syntactically incorrect XML."),	
// 	BACKEND_PROCESSING_FAILED("04", "Backend processing failed.");
// 
// 	private String id;
// 	private String message;
// 	
// 	private FaultConst(String id, String text) {
// 		this.id = id;
// 		this.message = text;
// 	}
// 	
// 	public String getMessage() {
// 		return message;
// 	}
// 	
// 	public String getId() {
// 		return id;
// 	}
// 	
// }


import de.codecentric.namespace.weatherservice.exception.WeatherException;
import de.jonashackt.tutorial.common.FaultConst;
package de.jonashackt.tutorial.transformation;




public final class WeatherOutError {

	private WeatherOutError() {
	 // private Constructor for Utility-Class
	};
	
	private static final de.codecentric.namespace.weatherservice.exception.ObjectFactory objectFactoryDatatypes = new de.codecentric.namespace.weatherservice.exception.ObjectFactory();
	
// Path: step5_custom-soap-fault/src/main/java/de/jonashackt/tutorial/common/FaultConst.java
// public enum FaultConst {
// 
// 	SUCCESSFULL_PROCESSING("01", "The Weather-Call was successfully processed by the backend."),
// 	SCHEME_VALIDATION_ERROR("07", "XML-Scheme-validiation failed."),
// 	SYNTACTICALLY_INCORRECT_XML_ERROR("08", "Syntactically incorrect XML."),	
// 	BACKEND_PROCESSING_FAILED("04", "Backend processing failed.");
// 
// 	private String id;
// 	private String message;
// 	
// 	private FaultConst(String id, String text) {
// 		this.id = id;
// 		this.message = text;
// 	}
// 	
// 	public String getMessage() {
// 		return message;
// 	}
// 	
// 	public String getId() {
// 		return id;
// 	}
// 	
// }


// Path: step5_custom-soap-fault/src/main/java/de/jonashackt/tutorial/transformation/WeatherOutError.java
import de.codecentric.namespace.weatherservice.exception.WeatherException;
import de.jonashackt.tutorial.common.FaultConst;

package de.jonashackt.tutorial.transformation;




public final class WeatherOutError {

	private WeatherOutError() {
	 // private Constructor for Utility-Class
	};
	
	private static final de.codecentric.namespace.weatherservice.exception.ObjectFactory objectFactoryDatatypes = new de.codecentric.namespace.weatherservice.exception.ObjectFactory();
	
	public static WeatherException createWeatherException(FaultConst faultContent, String originalFaultMessage) {