public static ErrorType getErrorTypeApplicationError() { ErrorType error = new ErrorType(); error.setType(ConstantsRateGain.Error.Type.APPLICATION_ERROR); return error; }
public static ErrorType getErrorTypeRequiredFieldMissing() { ErrorType error = new ErrorType(); error.setType(ConstantsRateGain.Error.Type.REQUIRED_FIELD_MISSING); return error; }
public static ErrorType getErrorTypeAuthenticationModel() { ErrorType error = new ErrorType(); error.setType(ConstantsRateGain.Error.Type.AUTHENTICATION_MODEL); return error; }
/** * @return <code>ErrorType</code> Object with type {@link ConstantsRateGain.Error.Type#UNKNOWN} * without error code. */ public static ErrorType getErrorTypeUnknown() { ErrorType error = new ErrorType(); error.setType(ConstantsRateGain.Error.Type.UNKNOWN); return error; }
public static ErrorType getErrorTypeProcessingException() { final ErrorType error = new ErrorType(); error.setType(ConstantsRateGain.Error.Type.PROCESSING_EXCEPTION); return error; }
public static ErrorType getErrorTypeNoImplemetantation() { final ErrorType error = new ErrorType(); error.setType(ConstantsRateGain.Error.Type.NO_IMPLEMENTATION); return error; }