ch.qos.logback.core.rolling.FixedWindowRollingPolicy.addError()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(5.7k)|赞(0)|评价(0)|浏览(147)

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

FixedWindowRollingPolicy.addError介绍

暂无

代码示例

代码示例来源:origin: camunda/camunda-bpm-platform

determineCompressionMode();
} else {
 addError(FNP_NOT_SET);
 addError(CoreConstants.SEE_FNP_NOT_SET);
 throw new IllegalStateException(FNP_NOT_SET + CoreConstants.SEE_FNP_NOT_SET);
 addError("Prudent mode is not supported with FixedWindowRollingPolicy.");
 addError(PRUDENT_MODE_UNSUPPORTED);
 throw new IllegalStateException("Prudent mode is not supported.");
 addError("The File name property must be set before using this rolling policy.");
 addError(SEE_PARENT_FN_NOT_SET);
 throw new IllegalStateException("The \"File\" option must be set.");

代码示例来源:origin: com.alibaba.citrus.tool/antx-autoexpand

determineCompressionMode();
} else {
 addError(FNP_NOT_SET);
 addError(CoreConstants.SEE_FNP_NOT_SET);
 throw new IllegalStateException(FNP_NOT_SET + CoreConstants.SEE_FNP_NOT_SET);
 addError("Prudent mode is not supported with FixedWindowRollingPolicy.");
 addError(PRUDENT_MODE_UNSUPPORTED);
 throw new IllegalStateException("Prudent mode is not supported.");
 addError("The File name property must be set before using this rolling policy.");
 addError(SEE_PARENT_FN_NOT_SET);
 throw new IllegalStateException("The \"File\" option must be set.");

代码示例来源:origin: Nextdoor/bender

determineCompressionMode();
} else {
  addError(FNP_NOT_SET);
  addError(CoreConstants.SEE_FNP_NOT_SET);
  throw new IllegalStateException(FNP_NOT_SET + CoreConstants.SEE_FNP_NOT_SET);
  addError("Prudent mode is not supported with FixedWindowRollingPolicy.");
  addError(PRUDENT_MODE_UNSUPPORTED);
  throw new IllegalStateException("Prudent mode is not supported.");
  addError("The File name property must be set before using this rolling policy.");
  addError(SEE_PARENT_FN_NOT_SET);
  throw new IllegalStateException("The \"File\" option must be set.");

代码示例来源:origin: io.virtdata/virtdata-lib-realer

determineCompressionMode();
} else {
  addError(FNP_NOT_SET);
  addError(CoreConstants.SEE_FNP_NOT_SET);
  throw new IllegalStateException(FNP_NOT_SET + CoreConstants.SEE_FNP_NOT_SET);
  addError("Prudent mode is not supported with FixedWindowRollingPolicy.");
  addError(PRUDENT_MODE_UNSUPPORTED);
  throw new IllegalStateException("Prudent mode is not supported.");
  addError("The File name property must be set before using this rolling policy.");
  addError(SEE_PARENT_FN_NOT_SET);
  throw new IllegalStateException("The \"File\" option must be set.");

代码示例来源:origin: com.hynnet/logback-core

determineCompressionMode();
} else {
 addError(FNP_NOT_SET);
 addError(CoreConstants.SEE_FNP_NOT_SET);
 throw new IllegalStateException(FNP_NOT_SET + CoreConstants.SEE_FNP_NOT_SET);
 addError("Prudent mode is not supported with FixedWindowRollingPolicy.");
 addError(PRUDENT_MODE_UNSUPPORTED);
 throw new IllegalStateException("Prudent mode is not supported.");
 addError("The File name property must be set before using this rolling policy.");
 addError(SEE_PARENT_FN_NOT_SET);
 throw new IllegalStateException("The \"File\" option must be set.");

代码示例来源:origin: ch.qos.logback/core

determineCompressionMode();
} else {
 addError(FNP_NOT_SET);
 addError(CoreConstants.SEE_FNP_NOT_SET);
 throw new IllegalStateException(FNP_NOT_SET + CoreConstants.SEE_FNP_NOT_SET);
 addError("Prudent mode is not supported with FixedWindowRollingPolicy.");
 addError(PRUDENT_MODE_UNSUPPORTED);
 throw new IllegalStateException("Prudent mode is not supported.");
 addError("The File name property must be set before using this rolling policy.");
 addError(SEE_PARENT_FN_NOT_SET);
 throw new IllegalStateException("The \"File\" option must be set.");

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/ch.qos.logback.core

determineCompressionMode();
} else {
 addError(FNP_NOT_SET);
 addError(CoreConstants.SEE_FNP_NOT_SET);
 throw new IllegalStateException(FNP_NOT_SET + CoreConstants.SEE_FNP_NOT_SET);
 addError("Prudent mode is not supported with FixedWindowRollingPolicy.");
 addError(PRUDENT_MODE_UNSUPPORTED);
 throw new IllegalStateException("Prudent mode is not supported.");
 addError("The File name property must be set before using this rolling policy.");
 addError(SEE_PARENT_FN_NOT_SET);
 throw new IllegalStateException("The \"File\" option must be set.");

代码示例来源:origin: tony19/logback-android

determineCompressionMode();
} else {
 addError(FNP_NOT_SET);
 addError(CoreConstants.SEE_FNP_NOT_SET);
 throw new IllegalStateException(FNP_NOT_SET + CoreConstants.SEE_FNP_NOT_SET);
 addError("Prudent mode is not supported with FixedWindowRollingPolicy.");
 addError(PRUDENT_MODE_UNSUPPORTED);
 throw new IllegalStateException("Prudent mode is not supported.");
 addError("The File name property must be set before using this rolling policy.");
 addError(SEE_PARENT_FN_NOT_SET);
 throw new IllegalStateException("The \"File\" option must be set.");

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

determineCompressionMode();
} else {
  addError(FNP_NOT_SET);
  addError(CoreConstants.SEE_FNP_NOT_SET);
  throw new IllegalStateException(FNP_NOT_SET + CoreConstants.SEE_FNP_NOT_SET);
  addError("Prudent mode is not supported with FixedWindowRollingPolicy.");
  addError(PRUDENT_MODE_UNSUPPORTED);
  throw new IllegalStateException("Prudent mode is not supported.");
  addError("The File name property must be set before using this rolling policy.");
  addError(SEE_PARENT_FN_NOT_SET);
  throw new IllegalStateException("The \"File\" option must be set.");

相关文章