code: private void formatAndThrowJSLintError(BundleProcessingStatus status, byte[] bundleBytes, JSMinException e) {
  		StringBuilder errorMsg = new StringBuilder(
  				"JSMin failed to minify the bundle with id: '" + status.getCurrentBundle().getId() + "'.\n");
  		errorMsg.append("The exception thrown is of type:").append(e.getClass().getName()).append("'.\n");
  		int currentByte = e.getByteIndex();
  		int startPoint;
  		if (currentByte < 100)
  			startPoint = 0;
  		else
  			startPoint = currentByte - 100;
  		int totalSize = currentByte - startPoint;
  
  		byte[] lastData = new byte[totalSize];
  
  		for (int x = 0; x < totalSize; x++) {
  			lastData[x] = bundleBytes[startPoint];
  			startPoint++;
  		}
  		errorMsg.append("The error happened at this point in your javascript (line ").append(e.getLine())
  				.append("; col. ").append(e.getColumn()).append(") : \n");
  		errorMsg.append("_______________________________________________\n...");
  		try {
  			String data = byteArrayToString(status.getJawrConfig().getResourceCharset(), lastData).toString();
  			errorMsg.append(data).append("\n\n");
  		} catch (IOException e1) {
  			// Ignored, we have enaugh problems by this point.
  		}
  		errorMsg.append("_______________________________________________");
  		errorMsg.append(
  				"\nIf you can't find the error, try to check the scripts using JSLint (http://www.jslint.com/) to find the conflicting part of the code. ");
  
  		throw new BundlingProcessException(errorMsg.toString(), e);
  	}
docs: Upon an exception thrown during minification, this method will throw an
  error with detailed information.
  
  @param status
  the bundle processing status
  @param bundleBytes
  the byte array of the bundle content
  @param e
  the JSMinException