1 20 21 package org.snmp4j; 22 23 33 public final class SNMP4JSettings { 34 35 45 private static boolean extensibilityEnabled = false; 46 47 57 private static volatile boolean forwardRuntimeExceptions = false; 58 59 74 public static void setExtensibilityEnabled(boolean enable) { 75 extensibilityEnabled = enable; 76 } 77 78 85 public final static boolean isExtensibilityEnabled() { 86 return extensibilityEnabled; 87 } 88 89 97 public static void setForwardRuntimeExceptions(boolean forwardExceptions) { 98 forwardRuntimeExceptions = forwardExceptions; 99 } 100 101 109 public final static boolean isFowardRuntimeExceptions() { 110 return forwardRuntimeExceptions; 111 } 112 } 113 | Popular Tags |