Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for getException (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                if (!location.isEmpty()) {
                    message += " @ " + location;
                }
    
                return handle(message, problem.getException());
            } else {
                return null;
            }
        }
    
        private String getReference(Set<Throwable> dejaVu, Throwable exception) {
            String reference = "";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    }
                    model = modelResult.getEffectiveModel();
                } catch (ModelBuildingException e) {
                    for (ModelProblem problem : e.getProblems()) {
                        if (problem.getException() instanceof UnresolvableModelException unresolvableModelException) {
                            result.addException(unresolvableModelException);
                            throw new ArtifactDescriptorException(result);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                response.exception(testException);
    
                assertTrue(response.isError());
                assertTrue(response.isReceived());
                assertSame(testException, response.getException());
            }
    
            @Test
            @DisplayName("Should handle error")
            void testError() throws InterruptedException {
                CountDownLatch latch = new CountDownLatch(1);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

             */
            public NetbiosAddress[] getAnswer() {
                return this.ans;
            }
    
            /**
             * @return the uhe
             */
            public UnknownHostException getException() {
                return this.uhe;
            }
    
        }
    
        NetbiosAddress[] lookupServerOrWorkgroup(final String name, final InetAddress svr) throws UnknownHostException {
            final Sem sem = new Sem(2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/NotifyResponseTest.java

            }
    
            @Override
            public void exception(Exception e) {
                this.exception = e;
            }
    
            @Override
            public Exception getException() {
                return this.exception;
            }
    
            @Override
            public void setExpiration(Long expiration) {
                this.expiration = expiration;
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        public boolean isVerifyFailed() {
            return this.verifyFailed;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#getException()
         */
        @Override
        public Exception getException() {
            return this.exception;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#isError()
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

                            }
    
                            if (curResp.isError()) {
                                throw new TransportException(this.name + " error reading response to " + curReq, curResp.getException());
                            }
                            if (isDisconnected() && this.state != 5) {
                                throw new TransportException(
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                line = indent + line + ("".equals(nextColor) ? "" : ANSI_RESET);
    
                if ((i == lines.length - 1) && (showErrors || (summary.getException() instanceof InternalErrorException))) {
                    slf4jLogger.error(line, summary.getException());
                } else {
                    slf4jLogger.error(line);
                }
    
                currentColor = nextColor;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

                        this.credits.release(grantedCredits);
                    }
                }
            }
    
            if (!response.isReceived()) {
                throw new IOException("No response", response.getException());
            }
            return response;
    
        }
    
        private <T extends CommonServerMessageBlockResponse> T setupResponses(final CommonServerMessageBlockRequest request, T response)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      }
    
      public void testSetFailure() throws Exception {
        assertTrue(future.setException(new Exception("failure")));
        tester.testFailedFuture("failure");
      }
    
      public void testSetFailureNull() throws Exception {
        assertThrows(NullPointerException.class, () -> future.setException(null));
        assertFalse(future.isDone());
        assertTrue(future.setException(new Exception("failure")));
        tester.testFailedFuture("failure");
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top