本文整理了Java中org.snmp4j.smi.Null.isExceptionSyntax()
方法的一些代码示例,展示了Null.isExceptionSyntax()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Null.isExceptionSyntax()
方法的具体详情如下:
包路径:org.snmp4j.smi.Null
类名称:Null
方法名:isExceptionSyntax
暂无
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.snmp4j
public void setSyntax(int syntax) {
if ((syntax != SMIConstants.SYNTAX_NULL) && (!isExceptionSyntax(syntax))) {
throw new IllegalArgumentException("Syntax " + syntax +
" is incompatible with Null type");
}
this.syntax = syntax;
}
代码示例来源:origin: org.snmp4j/snmp4j
public void setSyntax(int syntax) {
if ((syntax != SMIConstants.SYNTAX_NULL) && (!isExceptionSyntax(syntax))) {
throw new IllegalArgumentException("Syntax " + syntax +
" is incompatible with Null type");
}
this.syntax = syntax;
}
代码示例来源:origin: org.kaazing/snmp4j
public void setSyntax(int syntax) {
if ((syntax != SMIConstants.SYNTAX_NULL) && (!isExceptionSyntax(syntax))) {
throw new IllegalArgumentException("Syntax " + syntax +
" is incompatible with Null type");
}
this.syntax = syntax;
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.snmp4j
/**
* Checks whether this variable represents an exception like
* noSuchObject, noSuchInstance, and endOfMibView.
* @return
* {@code true} if the syntax of this variable is an instance of
* {@code Null} and its syntax equals one of the following:
* <UL>
* <LI>{@link SMIConstants#EXCEPTION_NO_SUCH_OBJECT}</LI>
* <LI>{@link SMIConstants#EXCEPTION_NO_SUCH_INSTANCE}</LI>
* <LI>{@link SMIConstants#EXCEPTION_END_OF_MIB_VIEW}</LI>
* </UL>
*/
public boolean isException() {
return Null.isExceptionSyntax(getSyntax());
}
代码示例来源:origin: org.kaazing/snmp4j
/**
* Checks whether this variable represents an exception like
* noSuchObject, noSuchInstance, and endOfMibView.
* @return
* <code>true</code> if the syntax of this variable is an instance of
* <code>Null</code> and its syntax equals one of the following:
* <UL>
* <LI>{@link SMIConstants#EXCEPTION_NO_SUCH_OBJECT}</LI>
* <LI>{@link SMIConstants#EXCEPTION_NO_SUCH_INSTANCE}</LI>
* <LI>{@link SMIConstants#EXCEPTION_END_OF_MIB_VIEW}</LI>
* </UL>
*/
public boolean isException() {
return Null.isExceptionSyntax(getSyntax());
}
代码示例来源:origin: org.snmp4j/snmp4j
/**
* Checks whether this variable represents an exception like
* noSuchObject, noSuchInstance, and endOfMibView.
*
* @return {@code true} if the syntax of this variable is an instance of
* {@code Null} and its syntax equals one of the following:
* <UL>
* <LI>{@link SMIConstants#EXCEPTION_NO_SUCH_OBJECT}</LI>
* <LI>{@link SMIConstants#EXCEPTION_NO_SUCH_INSTANCE}</LI>
* <LI>{@link SMIConstants#EXCEPTION_END_OF_MIB_VIEW}</LI>
* </UL>
*/
public boolean isException() {
return Null.isExceptionSyntax(getSyntax());
}
代码示例来源:origin: org.snmp4j/snmp4j
finished = true;
else if (Null.isExceptionSyntax(vb.getVariable().getSyntax())) {
finished = true;
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.snmp4j
finished = true;
else if (Null.isExceptionSyntax(vb.getVariable().getSyntax())) {
finished = true;
代码示例来源:origin: org.kaazing/snmp4j
finished = true;
else if (Null.isExceptionSyntax(vb.getVariable().getSyntax())) {
finished = true;
内容来源于网络,如有侵权,请联系作者删除!