예제 #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;
 }