org.eclipse.jdt.internal.core.util.Util.logRepeatedMessage()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(7.8k)|赞(0)|评价(0)|浏览(86)

本文整理了Java中org.eclipse.jdt.internal.core.util.Util.logRepeatedMessage()方法的一些代码示例,展示了Util.logRepeatedMessage()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.logRepeatedMessage()方法的具体详情如下:
包路径:org.eclipse.jdt.internal.core.util.Util
类名称:Util
方法名:logRepeatedMessage

Util.logRepeatedMessage介绍

[英]Log a message that is potentially repeated in the same session. The first time this method is called with a given exception, the exception stack trace is written to the log.

Only intended for use in debug statements.
[中]记录可能在同一会话中重复的消息。第一次使用给定异常调用此方法时,异常堆栈跟踪会写入日志。
仅用于调试语句。

代码示例

代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps

Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (not null) and task priorities (null)"); //$NON-NLS-1$
    defaultOptionsMap.remove(JavaCore.COMPILER_TASK_TAGS);
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (null) and task priorities (not null)"); //$NON-NLS-1$
  defaultOptionsMap.remove(JavaCore.COMPILER_TASK_PRIORITIES);
  return;
int taskPrioritiesLength = taskPriorities.length;
if (taskTagsLength != taskPrioritiesLength) {
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags and task priorities : length is different"); //$NON-NLS-1$
  if (taskTagsLength > taskPrioritiesLength) {
    System.arraycopy(taskTags, 0, (taskTags = new char[taskPrioritiesLength][]), 0, taskPrioritiesLength);

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (not null) and task priorities (null)"); //$NON-NLS-1$
    defaultOptionsMap.remove(JavaCore.COMPILER_TASK_TAGS);
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (null) and task priorities (not null)"); //$NON-NLS-1$
  defaultOptionsMap.remove(JavaCore.COMPILER_TASK_PRIORITIES);
  return;
int taskPrioritiesLength = taskPriorities.length;
if (taskTagsLength != taskPrioritiesLength) {
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags and task priorities : length is different"); //$NON-NLS-1$
  if (taskTagsLength > taskPrioritiesLength) {
    System.arraycopy(taskTags, 0, (taskTags = new char[taskPrioritiesLength][]), 0, taskPrioritiesLength);

代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core

Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (not null) and task priorities (null)"); //$NON-NLS-1$
    defaultOptionsMap.remove(JavaCore.COMPILER_TASK_TAGS);
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (null) and task priorities (not null)"); //$NON-NLS-1$
  defaultOptionsMap.remove(JavaCore.COMPILER_TASK_PRIORITIES);
  return;
int taskPrioritiesLength = taskPriorities.length;
if (taskTagsLength != taskPrioritiesLength) {
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags and task priorities : length is different"); //$NON-NLS-1$
  if (taskTagsLength > taskPrioritiesLength) {
    System.arraycopy(taskTags, 0, (taskTags = new char[taskPrioritiesLength][]), 0, taskPrioritiesLength);

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (not null) and task priorities (null)"); //$NON-NLS-1$
    defaultOptionsMap.remove(JavaCore.COMPILER_TASK_TAGS);
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (null) and task priorities (not null)"); //$NON-NLS-1$
  defaultOptionsMap.remove(JavaCore.COMPILER_TASK_PRIORITIES);
  return;
int taskPrioritiesLength = taskPriorities.length;
if (taskTagsLength != taskPrioritiesLength) {
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags and task priorities : length is different"); //$NON-NLS-1$
  if (taskTagsLength > taskPrioritiesLength) {
    System.arraycopy(taskTags, 0, (taskTags = new char[taskPrioritiesLength][]), 0, taskPrioritiesLength);

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (not null) and task priorities (null)"); //$NON-NLS-1$
    defaultOptionsMap.remove(JavaCore.COMPILER_TASK_TAGS);
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (null) and task priorities (not null)"); //$NON-NLS-1$
  defaultOptionsMap.remove(JavaCore.COMPILER_TASK_PRIORITIES);
  return;
int taskPrioritiesLength = taskPriorities.length;
if (taskTagsLength != taskPrioritiesLength) {
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags and task priorities : length is different"); //$NON-NLS-1$
  if (taskTagsLength > taskPrioritiesLength) {
    System.arraycopy(taskTags, 0, (taskTags = new char[taskPrioritiesLength][]), 0, taskPrioritiesLength);

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (not null) and task priorities (null)"); //$NON-NLS-1$
    defaultOptionsMap.remove(JavaCore.COMPILER_TASK_TAGS);
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (null) and task priorities (not null)"); //$NON-NLS-1$
  defaultOptionsMap.remove(JavaCore.COMPILER_TASK_PRIORITIES);
  return;
int taskPrioritiesLength = taskPriorities.length;
if (taskTagsLength != taskPrioritiesLength) {
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags and task priorities : length is different"); //$NON-NLS-1$
  if (taskTagsLength > taskPrioritiesLength) {
    System.arraycopy(taskTags, 0, (taskTags = new char[taskPrioritiesLength][]), 0, taskPrioritiesLength);

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (not null) and task priorities (null)"); //$NON-NLS-1$
    defaultOptionsMap.remove(JavaCore.COMPILER_TASK_TAGS);
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags (null) and task priorities (not null)"); //$NON-NLS-1$
  defaultOptionsMap.remove(JavaCore.COMPILER_TASK_PRIORITIES);
  return;
int taskPrioritiesLength = taskPriorities.length;
if (taskTagsLength != taskPrioritiesLength) {
  Util.logRepeatedMessage(TASK_PRIORITIES_PROBLEM, IStatus.ERROR, "Inconsistent values for taskTags and task priorities : length is different"); //$NON-NLS-1$
  if (taskTagsLength > taskPrioritiesLength) {
    System.arraycopy(taskTags, 0, (taskTags = new char[taskPrioritiesLength][]), 0, taskPrioritiesLength);

代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core

} catch(AbortCompilation e) {
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

} catch(AbortCompilation e) {
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

} catch(AbortCompilation e) {
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

} catch(AbortCompilation e) {
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

} catch(AbortCompilation e) {
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

} catch(AbortCompilation e) {
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);
  Util.logRepeatedMessage(e.getKey(), e);

相关文章

微信公众号

最新文章

更多

Util类方法