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; }
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; }
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; }
/** * 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()); }
/** * 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()); }
/** * 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()); }
finished = true; else if (Null.isExceptionSyntax(vb.getVariable().getSyntax())) { finished = true;
finished = true; else if (Null.isExceptionSyntax(vb.getVariable().getSyntax())) { finished = true;
finished = true; else if (Null.isExceptionSyntax(vb.getVariable().getSyntax())) { finished = true;