Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 2,342 for Exceptions (0.08 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java

     *
     */
    @Deprecated
    class FileModelSourceTest {
    
        /**
         * Test of equals method, of class FileModelSource.
         */
        @Test
        void testEquals() throws Exception {
            File tempFile = createTempFile("pomTest");
            FileModelSource instance = new FileModelSource(tempFile);
    
            assertFalse(instance.equals(null), "Expected " + instance + " to not equal " + null);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableTable.java

          return this;
        }
    
        /**
         * Returns a newly-created immutable table.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate key pairs. The {@code build()} method will
         * soon be deprecated.
         *
         * @throws IllegalArgumentException if duplicate key pairs were added
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/BadPaddingRuntimeException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import javax.crypto.BadPaddingException;
    
    /**
     * Signals that this exception has been thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
     * @author shinsuke
     */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/IllegalKeyOfBeanMapException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.util.Map;
    
    /**
     * Exception thrown when using a key not contained in a {@literal BeanMap}.
     *
     * @author koichik
     */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/ResourceNotFoundRuntimeException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception thrown when a resource cannot be found.
     *
     * @author higa
     */
    public class ResourceNotFoundRuntimeException extends ClRuntimeException {
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

        @Mock
        private Configuration mockConfig;
    
        @Mock
        private NbtAddress mockQueryAddress;
    
        private NodeStatusResponse response;
    
        @BeforeEach
        void setUp() throws Exception {
            // Setup mock configuration with lenient stubbing
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
            // Setup mock query address
            mockQueryAddress = mock(NbtAddress.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/JarURLConnectionUtil.java

    import java.util.jar.JarFile;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * Utility class for {@link JarURLConnection}.
     *
     * @author higa
     */
    public abstract class JarURLConnectionUtil {
    
        /**
         * Do not instantiate.
         */
        protected JarURLConnectionUtil() {
        }
    
        /**
         * A method that wraps the exception handling of {@link JarURLConnection#getJarFile()}.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

              new CertificatePinner.Builder()
                  .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=")
                  .build())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/robots.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Dec 08 21:30:01 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      /*
       * Tests for Predicates.alwaysFalse().
       */
    
      public void testAlwaysFalse_apply() throws Exception {
        assertEvalsToFalse(Predicates.alwaysFalse());
      }
    
      public void testAlwaysFalse_equality() throws Exception {
        new EqualsTester()
            .addEqualityGroup(FALSE, Predicates.alwaysFalse())
            .addEqualityGroup(isOdd())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            response.readDataWireFormat(buffer, 0, buffer.length);
    
            CIFSException exception = assertThrows(CIFSException.class, () -> {
                response.getInfo(FileInternalInfo.class);
            });
    
            assertEquals("Incompatible file information class", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns 0")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top