- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,024 for Exceptions (0.06 sec)
-
PackageSanityTests.java
IMMUTABLE_NETWORK_B); L63: setDefault(EndpointPair.class, EndpointPair.ordered("A", "B")); L64: } L65: L66: @Override L67: public void testNulls() throws Exception { L68: try { L69: super.testNulls(); L70: } catch (AssertionError e) { L71: assertWithMessage("Method did not throw null pointer OR element not in graph exception.") L72: .that(e) L73: .hasCauseThat() L74: .hasMessageThat() L75: .contains(ERROR_ELEMENT_NOT_IN_GRAPH); L76: } L77:...github.com/google/guava/android/guava-tests/tes...Tue Jun 11 16:13:05 UTC 2024 3.2K bytes -
UnsignedBytesBenchmark.java
1M, 1M (unaligned), 64M, 64M (unaligned) L41: // @Param({"4", "8", "64", "1024", "1048576", "1048577", "6710884", "6710883"}) L42: @Param({"4", "8", "64", "1024"}) L43: private int length; L44: L45: @BeforeExperiment L46: void setUp() throws Exception { L47: Random r = new Random(); L48: ba1 = new byte[length]; L49: r.nextBytes(ba1); L50: ba2 = Arrays.copyOf(ba1, ba1.length); L51: // Differ at the last element L52: ba3 = Arrays.copyOf(ba1, ba1.length); L53: ba4 = Arrays.copyOf(ba1,...github.com/google/guava/guava-tests/benchmark/c...Mon Dec 04 17:37:03 UTC 2017 2.8K bytes -
ClassPathTest.java
tClassPathEntries(new URLClassLoader(new URL[0], null)).keySet()) L80: .isEmpty(); L81: } L82: L83: @AndroidIncompatible // Android forbids null parent ClassLoader L84: public void testClassPathEntries_urlClassLoader_noParent() throws Exception { L85: URL url1 = new URL("file:/a"); L86: URL url2 = new URL("file:/b"); L87: URLClassLoader classloader = new URLClassLoader(new URL[] {url1, url2}, null); L88: assertThat(ClassPath.getClassPathEntries(classloader)) L89: .containsExactly(new...github.com/google/guava/guava-tests/test/com/go...Wed Jul 24 22:09:38 UTC 2024 27.6K bytes -
ThumbnailManager.java
L42:import org.codelibs.fess.es.client.SearchEngineClient; L43:import org.codelibs.fess.es.config.exbhv.ThumbnailQueueBhv; L44:import org.codelibs.fess.es.config.exentity.ThumbnailQueue; L45:import org.codelibs.fess.exception.FessSystemException; L46:import org.codelibs.fess.exception.JobProcessingException; L47:import org.codelibs.fess.helper.SystemHelper; L48:import org.codelibs.fess.mylasta.direction.FessConfig; L49:import org.codelibs.fess.util.ComponentUtil; L50:import org.codelibs.fess.util.DocumentUtil;...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 21.5K bytes -
SsoLoginException.java
governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.exception; L17: L18:public class SsoLoginException extends FessSystemException { L19: L20: private static final long serialVersionUID = 1L; L21: L22: public SsoLoginException(final String message) { L23: super(message); L24: } L25: L26: public SsoLoginException(final String message, final Exception e) { L27: super(message, e); L28: } L29: L30:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 967 bytes -
SsoProcessException.java
governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.exception; L17: L18:public class SsoProcessException extends FessSystemException { L19: L20: private static final long serialVersionUID = 1L; L21: L22: public SsoProcessException(final String message) { L23: super(message); L24: } L25: L26: public SsoProcessException(final String message, final Exception e) { L27: super(message, e); L28: } L29: L30:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 973 bytes -
StripedTest.java
FAIR_LOCK_SUPPLER)) L107: .build(); L108: } L109: L110: private static Iterable<Striped<?>> allImplementations() { L111: return concat(strongImplementations(), weakImplementations()); L112: } L113: L114: public void testNull() throws Exception { L115: for (Striped<?> striped : allImplementations()) { L116: new NullPointerTester().testAllPublicInstanceMethods(striped); L117: } L118: } L119: L120: public void testSizes() { L121: // not bothering testing all variations, since...github.com/google/guava/android/guava-tests/tes...Wed Jun 26 12:58:35 UTC 2024 8.4K bytes -
EnumsTest.java
"WOMBAT")).isAbsent(); L80: } L81: L82: L83: @J2ktIncompatible L84: @GwtIncompatible // weak references L85: @AndroidIncompatible // depends on details of GC and classloading L86: public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception { L87: WeakReference<?> shadowLoaderReference = doTestClassUnloading(); L88: GcFinalization.awaitClear(shadowLoaderReference); L89: } L90: L91: // Create a second ClassLoader and use it to get a second version of the TestEnum class. L92:...github.com/google/guava/guava-tests/test/com/go...Wed May 29 16:29:37 UTC 2024 8.7K bytes -
StripedTest.java
FAIR_LOCK_SUPPLER)) L107: .build(); L108: } L109: L110: private static Iterable<Striped<?>> allImplementations() { L111: return concat(strongImplementations(), weakImplementations()); L112: } L113: L114: public void testNull() throws Exception { L115: for (Striped<?> striped : allImplementations()) { L116: new NullPointerTester().testAllPublicInstanceMethods(striped); L117: } L118: } L119: L120: public void testSizes() { L121: // not bothering testing all variations, since...github.com/google/guava/guava-tests/test/com/go...Wed Jun 26 12:58:35 UTC 2024 8.4K bytes -
AdminBadwordAction.java
L35:import org.codelibs.fess.app.service.BadWordService; L36:import org.codelibs.fess.app.web.CrudMode; L37:import org.codelibs.fess.app.web.base.FessAdminAction; L38:import org.codelibs.fess.es.config.exentity.BadWord; L39:import org.codelibs.fess.exception.FessSystemException; L40:import org.codelibs.fess.helper.SuggestHelper; L41:import org.codelibs.fess.helper.SystemHelper; L42:import org.codelibs.fess.util.ComponentUtil; L43:import org.codelibs.fess.util.RenderDataUtil; L44:import org.dbflute.o...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 16.2K bytes