示例#1
0
 public static ErrorType getErrorTypeApplicationError() {
   ErrorType error = new ErrorType();
   error.setType(ConstantsRateGain.Error.Type.APPLICATION_ERROR);
   return error;
 }
示例#2
0
 public static ErrorType getErrorTypeRequiredFieldMissing() {
   ErrorType error = new ErrorType();
   error.setType(ConstantsRateGain.Error.Type.REQUIRED_FIELD_MISSING);
   return error;
 }
示例#3
0
 public static ErrorType getErrorTypeAuthenticationModel() {
   ErrorType error = new ErrorType();
   error.setType(ConstantsRateGain.Error.Type.AUTHENTICATION_MODEL);
   return error;
 }
示例#4
0
 /**
  * @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;
 }
示例#5
0
 public static ErrorType getErrorTypeProcessingException() {
   final ErrorType error = new ErrorType();
   error.setType(ConstantsRateGain.Error.Type.PROCESSING_EXCEPTION);
   return error;
 }
示例#6
0
 public static ErrorType getErrorTypeNoImplemetantation() {
   final ErrorType error = new ErrorType();
   error.setType(ConstantsRateGain.Error.Type.NO_IMPLEMENTATION);
   return error;
 }