Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for getExceptions (0.06 sec)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            assertEquals(-1, p1.getColumnNumber());
            assertNull(p1.getException());
    
            Problem p2 = collector.getProblems().get(1);
            assertEquals(Severity.WARNING, p2.getSeverity());
            assertEquals("", p2.getMessage());
            assertEquals(42, p2.getLineNumber());
            assertEquals(127, p2.getColumnNumber());
            assertEquals(e2, p2.getException());
        }
    
        @Test
        void testSetSource() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

                ArtifactTransferResource artifact = wrap(event.getWagon().getRepository(), event.getResource());
    
                ArtifactTransferEvent evt;
                if (event.getException() != null) {
                    evt = new ArtifactTransferEvent(wagon, event.getException(), event.getRequestType(), artifact);
                } else {
                    evt = new ArtifactTransferEvent(wagon, event.getEventType(), event.getRequestType(), artifact);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                } catch (PrivilegedActionException e) {
                    if (e.getException() instanceof SmbException) {
                        throw (SmbException) e.getException();
                    }
                    throw new SmbException("Unexpected exception during context initialization", e);
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

        void testGetException() {
            DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
            assertNull(problem.getException());
    
            Exception e = new Exception();
            problem = new DefaultProblem(null, null, null, -1, -1, e);
            assertSame(e, problem.getException());
        }
    
        @Test
        void testGetSource() {
            DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertFalse(echoResponse.isReceived());
                assertNull(echoResponse.getException());
    
                echoResponse.exception(testException);
    
                assertTrue(echoResponse.isError());
                assertTrue(echoResponse.isReceived());
                assertEquals(testException, echoResponse.getException());
            }
    
            @Test
            @DisplayName("Should clear received state")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Response.java

         */
        void reset();
    
        /**
         * Gets the exception associated with this response.
         *
         * @return an exception linked to an error
         */
        Exception getException();
    
        /**
         * Sets an exception for this response.
         *
         * @param e the exception to set
         */
        void exception(Exception e);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            this.asyncHandled = asyncHandled;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#getException()
         */
        @Override
        public Exception getException() {
            return this.exception;
        }
    
        /**
         *
         * @return error status code
         */
        @Override
        public final int getErrorCode() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    errors.add(new ProfileActivationException(req.getMessage(), req.getException()));
                }
            });
    
            if (!errors.isEmpty()) {
                throw errors.get(0);
            }
    
            return profiles;
        }
    
        /* (non-Javadoc)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

        Optional<MojoExecution> getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return the exception or {@code empty()} if none
         */
        Optional<Exception> getException();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return the exception that caused this problem or {@code null} if not applicable
         */
        @Nullable
        Exception getException();
    
        /**
         * Gets the message that describes this problem.
         *
         * @return the message describing this problem, never {@code null}
         */
        @Nonnull
        String getMessage();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top