Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for Throwable (0.17 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                                    .lookupList(key.getTypeParameter(0).getRawType());
                            l.forEach(o -> res3.add(new Binding.BindingToInstance<>(o)));
                        } catch (Throwable e) {
                            // ignore
                            e.printStackTrace();
                        }
                        List<Supplier<Object>> list =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformerException.java

     */
    public class ModelTransformerException extends MavenException {
    
        public ModelTransformerException(Exception e) {
            super(e);
        }
    
        public ModelTransformerException(String message, Throwable exception) {
            super(message, exception);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

        webSocket.close(1000, null);
        System.out.println("CLOSE: " + code + " " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        t.printStackTrace();
      }
    
      public static void main(String... args) {
        new WebSocketEcho().run();
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 04 11:40:21 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                if (result.parent != null && modified != null) {
                    modified.set(result.parent);
                }
                return result.source;
            }
        }
    
        static <T extends Throwable> void uncheckedThrow(Throwable t) throws T {
            throw (T) t; // rely on vacuous cast
        }
    
        private ModelSource doResolveModel(Parent parent, AtomicReference<Parent> modified)
                throws UnresolvableModelException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            return file;
        }
    
        public String getFileContents(File file, String encoding) throws IOException {
            return FileUtils.fileRead(file, encoding);
        }
    
        protected void finalize() throws Throwable {
            maybeWarnAboutCleanUp();
    
            super.finalize();
        }
    
        public File createFile(String filename, String content, String encoding) throws IOException {
            File dir = createTempDir();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

            response.closeQuietly()
            throw IOException("Canceled")
          }
          return response
        } catch (e: IOException) {
          calledNoMoreExchanges = true
          throw noMoreExchanges(e) as Throwable
        } finally {
          if (!calledNoMoreExchanges) {
            noMoreExchanges(null)
          }
        }
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  7. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            initRepoSession(configuration);
    
            try {
                return projectBuilder.build(pom, configuration).getProject();
            } catch (Exception e) {
                Throwable cause = e.getCause();
                if (cause instanceof ModelBuildingException) {
                    String message = "In: " + pom + "\n\n";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            configuration.setResolveDependencies(true);
    
            try {
                return projectBuilder.build(pom, configuration).getProject();
            } catch (Exception e) {
                Throwable cause = e.getCause();
                if (cause instanceof ModelBuildingException) {
                    String message = "In: " + pom + "\n\n";
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            } else {
                return null;
            }
        }
    
        @SuppressWarnings("unchecked")
        static <T extends Throwable> void uncheckedThrow(Throwable t) throws T {
            throw (T) t; // rely on vacuous cast
        }
    
        static class LazyMap<K, V> extends AbstractMap<K, V> {
            private final Supplier<Map<K, V>> supplier;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                } catch (Exception e) {
                    uncheckedThrow(e);
                    return null;
                }
            };
        }
    
        static <T extends Throwable> void uncheckedThrow(Throwable t) throws T {
            throw (T) t; // rely on vacuous cast
        }
    
        private Model fireEvent(
                Model model,
                ModelBuilderRequest request,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
Back to top