- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 2,450 for exceptions (2.38 sec)
-
src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.exception; /** * Exception that wraps {@link UnsupportedOperationException}. * * @author wyukawa */ public class ClUnsupportedOperationException extends UnsupportedOperationException {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
public void testNewReference() throws Exception { assertEquals(null, Atomics.newReference().get()); } public void testNewReference_withInitialValue() throws Exception { assertEquals(null, Atomics.newReference(null).get()); assertEquals(OBJECT, Atomics.newReference(OBJECT).get()); } public void testNewReferenceArray_withLength() throws Exception { int length = 42;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CloseableUtil.java
* close(is); * } * </pre> * <p> * If an exception occurs in the try block, there is a possibility that an exception will also occur in the finally block's {@link #close(Closeable)}. If the exception is thrown from the finally block, the original exception from the try block will be lost. * </p> * * @param closeable the closeable object * @see Closeable#close() */
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
byte[] tooSmall = new byte[10]; PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacLogonInfo(tooSmall)); assertEquals("Malformed PAC", exception.getMessage()); } @Test @DisplayName("Test getters return expected values using mocks") void testGetters() throws Exception { // Use mocking to test getters without complex PAC data creation
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
import java.util.List; import java.util.Map; import org.junit.Test; /** * @author higa */ public class MethodUtilTest { /** * @throws Exception */ @Test public void testIsEqualsMethod() throws Exception { final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class); assertThat(MethodUtil.isEqualsMethod(equalsMethod), is(true));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
// Test getSecurity with empty descriptor - should throw exception assertThrows(ArrayIndexOutOfBoundsException.class, () -> { msrpcShareGetInfo.getSecurity(); }); } @Test void testGetSecurityWithLargeSecurityDescriptor() throws Exception { // Test with large valid security descriptorRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/ContainerNotAvailableException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * Exception thrown when a dependency injection container or component is not available. * This exception indicates that the required container or a specific component within it cannot be accessed. */ public class ContainerNotAvailableException extends FessSystemException {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Wed Nov 19 08:04:23 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TearDown.java
* * @throws Exception for any reason. {@code TearDownTestCase} ensures that any exception thrown * will not interfere with other TearDown operations. */ void tearDown() throws Exception;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
} @Test void testRoundTripEncodeDecodeForRequestType() throws Exception { TestMessage m = new TestMessage(); m.ptype = 0; // Request type NdrBuffer buf = new NdrBuffer(new byte[1024], 0); m.encode(buf); buf.setIndex(0); // Decode will throw exception as ptype 0 is not a valid response type assertThrows(NdrException.class, () -> m.decode(buf));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java
import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author higa */ public class TimestampConverterTest { /** * @throws Exception */ @Test public void testGetAsObjectAndGetAsString() throws Exception { final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd HH:mm:ss");Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0)