processing/src/main/java/org/apache/carbondata/processing/util/CarbonDataProcessorUtil.java
/**
   * This method returns String if exception is TextParsingException
   *
   * @param input
   * @return
   */
This method returns String if exception is TextParsingException
@param input
@return
This method returns String if exception is TextParsingException @param input @return
public static String trimErrorMessage(String input) {
    String errorMessage = input;
    if (input != null) {
      if (input.split("Hint").length > 0) {
        errorMessage = input.split("Hint")[0];
      }
    }
    return errorMessage;
  }
public static String trimErrorMessage ( String input ) { String errorMessage = input ; if ( input != null ) { if ( input . split ( "Hint" ) . length > 0 ) { errorMessage = input . split ( "Hint" ) [ 0 ] ; } } return errorMessage ; }
This method returns String if exception is TextParsingException
 @param input
 @return
This method returns String if exception is TextParsingException @param input @return