Record a warning with human readable description.
@param error the error
@param description human readable description of error
542238
public void warning(Throwable error, String description) {
    log(error, null, description, Level.WARNING);
  }
342067
public void setUserDefinedURLFrame(String description, String value)
	{
		try
		{
			byte[] b = new byte[description.length() + value.length() + 2];
			int bytesCopied = 0;
			b[bytesCopied++] = 0;
			System.arraycopy(description.getBytes(ENC_TYPE), 0, b, bytesCopied, description.length());
			bytesCopied += description.length();
			b[bytesCopied++] = 0;
			System.arraycopy(value.getBytes(), 0, b, bytesCopied, value.length());
			bytesCopied += value.length();

			updateFrameData(ID3v2Frames.USER_DEFINED_URL, b);
		}
		catch (UnsupportedEncodingException e)
		{
			e.printStackTrace();
		}
	}
987121
public void debug(Throwable error, String description) {
    log(error, null, description, Level.DEBUG);
  }
793524
public static void warnFormatted(final String text, final Object... parameterArray) {
        final String formattedText = String.format(text, parameterArray);

        logWriterInstance.warn(formattedText);

        UaiWebSocketLogManager.addLogText("[WARN] " + formattedText);
    }
867359
private static void  warn(String format, Object... args)
   {
      Log.w(TAG, String.format(format, args));
   }
1003891
public void onCommunicationException(Throwable error) {
		String msg = I18nProvider.getGlobal().commandCommunicationError() + ":\n" + error.getMessage();
		Log.logWarn(msg, error);
		SC.warn(msg);
	}
1189450
def warn(self, msg):
        
        self.warnings.append(
            self.state.document.reporter.warning(msg, line=self.lineno)
        )
425695
public static Result failure(String message, String description) {
        return new Result(message, description, null);
    }
1368923
void reportWarning(String msg, Element e) {
    messager.printMessage(Diagnostic.Kind.WARNING, msg, e);
  }
141778
public void showMessage( final ClientRuntimeError error) {
        StringBuilder result = new StringBuilder(DataSetExplorerConstants.INSTANCE.error());
        
        if (error != null) {
            final String message = error.getMessage();
            Throwable t = error.getRootCause();
            String localizedMessage = t != null ? t.getLocalizedMessage() : null;
            result = new StringBuilder(message);
            if (localizedMessage != null) {
                result.append(" ").append(DataSetExplorerConstants.INSTANCE.cause()).
                        append(": ").append(localizedMessage);
            }
        }
        
        showMessage(result.toString());
    }
386070
public void warnf(String format, Object param1) {
        if (isEnabled(Level.WARN)) {
            doLogf(Level.WARN, FQCN, format, new Object[] { param1 }, null);
        }
    }
104355
public void setDescription(String value) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "setDescription", value);
        _description = value;
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "setDescription");
    }
179587
public void warning(Throwable error, Map<String, Object> custom, String description) {
    log(error, custom, description, Level.WARNING);
  }
351023
public static DiagnosticType error(String name, String descriptionFormat) {
    return make(name, CheckLevel.ERROR, descriptionFormat);
  }
731677
public void warn(Object message, Throwable exception) {
    log(Level.WARN, message, exception);
  }
1080094
public static void warning(Logger log, String format, Object... args) {
        if (log.isLoggable(Level.WARNING))
            log.warning(String.format(format, args));
    }
852033
def errorRecorder(self, lineNumber, offset, text, check):
        
        code = text.split(" ")[0]
        lineOffset = self.report.line_offset

        self.warnings.append((lineOffset + lineNumber,
                              offset + 1, code, text))