- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 103 for getException (0.12 seconds)
-
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() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java
public Severity getSeverity() { return severity; } public Version getVersion() { return version; } public Exception getException() { return exception; } public ModelProblemCollectorRequest setException(Exception exception) { this.exception = exception; return this; } public String getMessage() { return message; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
} @Test @DisplayName("Test Response interface methods - getException") void testGetException() { // Given Exception expectedException = new Exception("Test exception"); when(response.getException()).thenReturn(expectedException); // When Exception actualException = response.getException(); // Then assertEquals(expectedException, actualException);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
*/ MojoExecution getMojoExecution(); /** * Gets the exception that caused the event (if any). * * @return The exception or {@code null} if none. */ Exception getException();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 29 20:53:26 GMT 2024 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java
return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me)); } @Override public Optional<Exception> getException() { return Optional.ofNullable(delegate.getException()); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 29 20:53:26 GMT 2024 - 2.1K bytes - Click Count (0) -
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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 8.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java
return session.getCurrentProject(); } @Override public MojoExecution getMojoExecution() { return mojoExecution; } @Override public Exception getException() { return exception; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java
this.reference = (reference != null) ? reference : ""; this.children = (children != null) ? Collections.unmodifiableList(children) : Collections.emptyList(); } public Throwable getException() { return exception; } public String getMessage() { return message; } public String getReference() { return reference; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
when(mockResponse.getException()).thenReturn(testException); assertEquals(testException, mockResponse.getException()); // Test null exception when(mockResponse.getException()).thenReturn(null); assertNull(mockResponse.getException()); // Verify the method was called verify(mockResponse, times(2)).getException(); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.5K bytes - Click Count (0) -
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();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 2.1K bytes - Click Count (0)