- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 3,804 for throws (0.07 seconds)
-
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseTest.java
} @Test public void test_getIndex() throws Exception { List<String> words = new ArrayList<>(); SuggestResponse response = new SuggestResponse("my-index", 50, words, 5, new ArrayList<>()); assertEquals("my-index", response.getIndex()); } @Test public void test_getTookMs() throws Exception { List<String> words = new ArrayList<>();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
@Test public void test_hook_withCustomClassLoader() throws Exception { // Create a custom ClassLoader that can control class loading behavior ClassLoader customClassLoader = new URLClassLoader(new URL[0], null) { @Override public Class<?> loadClass(String name) throws ClassNotFoundException {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
@Nested @DisplayName("GetSmbTransport Methods") class GetSmbTransportTests { @Test @DisplayName("Should get transport by name with default parameters") void testGetSmbTransportByName() throws UnknownHostException, IOException { // Given when(transportPool.getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false)).thenReturn(transport); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
/** * Test method for * {@link org.codelibs.core.io.PropertiesUtil#store(Properties, java.io.OutputStream, String)} * . * * @throws IOException */ @Test public void testStorePropertiesOutputStreamString() throws IOException { final Properties outProperties = new Properties(); outProperties.setProperty("a", "A");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 9.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
} } else { throw new IllegalStateException("unexpected task " + task); } } return mojoExecutions; } private Map<String, List<MojoExecution>> calculateLifecycleMappings( MavenSession session, MavenProject project, String lifecyclePhase)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 26.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
assertTrue(result > 0); assertNotNull(response.getSecurityDescriptor()); } @Test @DisplayName("Test readDataWireFormat with IOException throws ArrayIndexOutOfBoundsException") void testReadDataWireFormatWithIOException() throws Exception { // Create an invalid security descriptor buffer that will cause ArrayIndexOutOfBoundsException byte[] buffer = new byte[4];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
@DoNotCall("Always throws UnsupportedOperationException") public void addAll(RangeSet<C> other) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the {@code RangeSet} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.4K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
} /** * Test constructor with a token that has an incorrect OID. * * @throws IOException if an I/O error occurs */ @Test void testConstructorWithWrongOid() throws IOException { byte[] wrongOidToken = createGssApiWrapper(new ASN1ObjectIdentifier("1.2.3.4.5"), new byte[0]);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSink.java
* independent stream each time it is called. * * <p>The caller is responsible for ensuring that the returned stream is closed. * * @throws IOException if an I/O error occurs while opening the stream */ public abstract OutputStream openStream() throws IOException; /** * Opens a new buffered {@link OutputStream} for writing to this sink. The returned stream is not
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
} /** * @return the fid * @throws SmbException */ public int getFid() throws SmbException { if (!isValid()) { throw new SmbException("Descriptor is no longer valid"); } return this.fid; } public byte[] getFileId() throws SmbException { if (!isValid()) { throw new SmbException("Descriptor is no longer valid"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.4K bytes - Click Count (1)