本文整理了Java中jnr.constants.platform.Errno.description()
方法的一些代码示例,展示了Errno.description()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Errno.description()
方法的具体详情如下:
包路径:jnr.constants.platform.Errno
类名称: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);
}
内容来源于网络,如有侵权,请联系作者删除!