Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,436 for exception (0.09 sec)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java

         */
        public InvokerException(@Nullable String message) {
            super(message);
        }
    
        /**
         * Constructs a new {@code InvokerException} with the specified detail message and cause.
         *
         * @param message the detail message explaining the cause of the exception
         * @param cause the underlying cause of the exception
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                        tempDir);
                String ext;
                if (outputExtension == null) {
                    if (StringUtil.isNotBlank(extention)) {
                        ext = "." + extention;
                    } else {
                        ext = extention;
                    }
                } else {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        // Exceptions
        // ------------------------------------------------------------------------
    
        public boolean hasExceptions() {
            return exceptions != null && !exceptions.isEmpty();
        }
    
        public List<Exception> getExceptions() {
            return exceptions == null ? Collections.emptyList() : Collections.unmodifiableList(exceptions);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *
       * @param exceptionType the exception type that triggers use of {@code fallback}. The exception
       *     type is matched against this step's exception. "This step's exception" means the cause of
       *     the {@link ExecutionException} thrown by {@link Future#get()} on the {@link Future}
       *     underlying this step or, if {@code get()} throws a different kind of exception, that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                        }
                    }
                }
                if (causes != null) {
                    InvokerException exception = new InvokerException("Unable to close context");
                    causes.forEach(exception::addSuppressed);
                    throw exception;
                }
            }
        }
    
        protected final ProtoLookup protoLookup;
    
        public LookupInvoker(ProtoLookup protoLookup) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

        private final int columnNumber;
    
        private final String message;
    
        private final Exception exception;
    
        private final Severity severity;
    
        /**
         * Creates a new problem with the specified message and exception.
         * Either {@code message} or {@code exception} is required
         *
         * @param message The message describing the problem, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

         * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, URL)}
         */
        @Test
        public void testLoadPropertiesUrlThrowIOException() {
            exception.expect(IORuntimeException.class);
            exception.expectMessage(is("[ECL0040]IOException occurred, because java.io.IOException: load"));
            final Properties properties = new IOExceptionOccurProperties();
            PropertiesUtil.load(properties, url);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

         * @throws Exception
         */
        @Test
        public void testCopy_mapToNewBean() throws Exception {
            final BeanMap src = new BeanMap();
            src.put("aaa", "aaa");
            final MyBean dest = BeanUtil.copyMapToNewBean(src, MyBean.class);
            assertThat(dest.aaa, is("aaa"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_mapToNewMap() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

     *
     */
    public class ShortConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToShort() throws Exception {
            assertEquals(new Short("1000"), ShortConversionUtil.toShort("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveShort() throws Exception {
            assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

            ArrayList<InvokerException> exceptions = new ArrayList<>();
            for (LocalContext context : residentContext.values()) {
                try {
                    context.shutDown();
                } catch (InvokerException e) {
                    exceptions.add(e);
                }
            }
            if (!exceptions.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top