- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for getException (0.16 sec)
-
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()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java
if (modelId == null) { modelId = getModelId(); source = getSource(); } if (line <= 0 && column <= 0 && req.getException() instanceof ModelParseException) { ModelParseException e = (ModelParseException) req.getException(); line = e.getLineNumber(); column = e.getColumnNumber(); } ModelProblem problem = new DefaultModelProblem(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java
logger.debug("Installing {} to {}", event.getMetadata(), event.getFile()); } @Override public void metadataResolved(RepositoryEvent event) { Exception e = event.getException(); if (e != null) { if (e instanceof MetadataNotFoundException) { logger.debug(e.getMessage()); } else if (logger.isDebugEnabled()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
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 Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:41:04 UTC 2021 - 49K bytes - Viewed (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; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
} @Override public void transferFailed(TransferEvent event) { transferCompleted(event); println( "transferFailed", event.getException().getClass() + ": " + event.getException().getMessage()); } private void transferCompleted(TransferEvent event) { downloads.remove(event.getResource()); StringBuilder buffer = new StringBuilder(64);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (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();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0)