jnr.constants.platform.Errno.description()方法的使用及代码示例

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

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

Errno.description介绍

暂无

代码示例

代码示例来源:origin: jenkinsci/jenkins

@Override public void error(Errno error, String methodName, String extraData) {
  throw new PosixException("native error calling " + methodName + ": " + error.description() + " " + extraData, convert(error));
}
private org.jruby.ext.posix.POSIX.ERRORS convert(Errno error) {

代码示例来源:origin: jenkinsci/jenkins

@Override public void error(Errno error, String extraData) {
  throw new PosixException("native error " + error.description() + " " + extraData, convert(error));
}
@Override public void error(Errno error, String methodName, String extraData) {

代码示例来源:origin: io.prestosql.cassandra/cassandra-driver

public final String toString() { return description(); }
public static Errno valueOf(long value) {

代码示例来源:origin: com.facebook.presto.cassandra/cassandra-driver

public final String toString() { return description(); }
public static Errno valueOf(long value) {

代码示例来源:origin: com.cloudbees.util/jnr-unixsocket-nodep

public final String toString() { return description(); }
public static Errno valueOf(long value) {

代码示例来源:origin: io.prestosql.cassandra/cassandra-driver

public void error(Errno error, String methodName, String extraData) {
  throw new RuntimeException("native error calling " + methodName + ": " + error.description() + " " + extraData);
}

代码示例来源:origin: com.cloudbees.util/jnr-unixsocket-nodep

public void error(Errno error, String extraData) {
  throw new RuntimeException("native error " + error.description() + " " + extraData);
}

代码示例来源:origin: com.cloudbees.util/jnr-unixsocket-nodep

public void error(Errno error, String methodName, String extraData) {
  throw new RuntimeException("native error calling " + methodName + ": " + error.description() + " " + extraData);
}

代码示例来源:origin: com.proofpoint.galaxy/galaxy-cli

public void error(Errno error, String extraData)
{
  throw new RuntimeException("native error " + error.description() + " " + extraData);
}

代码示例来源:origin: com.github.jnr/jnr-posix

public void error(Errno error, String extraData) {
  throw new RuntimeException("native error " + error.description() + " " + extraData);
}

代码示例来源:origin: proofpoint/platform

@Override
public void error(jnr.constants.platform.Errno error, String extraData)
{
  throw new RuntimeException("native error " + error.description() + " " + extraData);
}

代码示例来源:origin: proofpoint/platform

@Override
public void error(Errno errno, String extraData1, String extraData2)
{
  throw new RuntimeException("native error " + errno.description() + " " + extraData1 + " "  + extraData2);
}

代码示例来源:origin: com.facebook.presto.cassandra/cassandra-driver

public void error(Errno error, String methodName, String extraData) {
  throw new RuntimeException("native error calling " + methodName + ": " + error.description() + " " + extraData);
}

代码示例来源:origin: io.prestosql.cassandra/cassandra-driver

public void error(Errno error, String extraData) {
  throw new RuntimeException("native error " + error.description() + " " + extraData);
}

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

@Override public void error(Errno error, String methodName, String extraData) {
  throw new PosixException("native error calling " + methodName + ": " + error.description() + " " + extraData, convert(error));
}
private org.jruby.ext.posix.POSIX.ERRORS convert(Errno error) {

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

@Override public void error(Errno error, String extraData) {
  throw new PosixException("native error " + error.description() + " " + extraData, convert(error));
}
@Override public void error(Errno error, String methodName, String extraData) {

代码示例来源:origin: org.jruby/jruby-core

public RaiseException newErrnoFromInt(int errno) {
  Errno errnoObj = Errno.valueOf(errno);
  if (errnoObj == null) {
    return newSystemCallError("Unknown Error (" + errno + ")");
  }
  String message = errnoObj.description();
  return newErrnoFromInt(errno, message);
}

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby

public RaiseException newErrnoFromInt(int errno) {
  Errno errnoObj = Errno.valueOf(errno);
  if (errnoObj == null) {
    return newSystemCallError("Unknown Error (" + errno + ")");
  }
  String message = errnoObj.description();
  return newErrnoFromInt(errno, message);
}

代码示例来源:origin: org.jruby/jruby-complete

public RaiseException newErrnoFromInt(int errno) {
  Errno errnoObj = Errno.valueOf(errno);
  if (errnoObj == null) {
    return newSystemCallError("Unknown Error (" + errno + ")");
  }
  String message = errnoObj.description();
  return newErrnoFromInt(errno, message);
}

代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

public RaiseException newErrnoFromInt(int errno) {
  Errno errnoObj = Errno.valueOf(errno);
  if (errnoObj == null) {
    return newSystemCallError("Unknown Error (" + errno + ")");
  }
  String message = errnoObj.description();
  return newErrnoFromInt(errno, message);
}

相关文章