Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 270 for RuntimeException (0.08 sec)

  1. android/guava/src/com/google/common/collect/ComputationException.java

     *     from Guava.)
     */
    @Deprecated
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ComputationException extends RuntimeException {
      /** Creates a new instance with the given cause. */
      public ComputationException(@CheckForNull Throwable cause) {
        super(cause);
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 04 13:28:27 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            try {
                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (IOException ioe) {
                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
        public String toString() {
            return new String( "NtTransQuerySecurityResponse[" +
                super.toString() + "]" );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

        }
    
        protected Element getChild(Element element, String childName) {
            Element child = findChild(element, childName);
            if (child != null) {
                return child;
            }
            throw new RuntimeException(String.format("No <%s> element found in <%s>", childName, element.getTagName()));
        }
    
        protected Element findChild(Element element, String childName) {
            NodeList childNodes = element.getChildNodes();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      private static final class ThrowingIterator<E> implements Iterator<E> {
        private final RuntimeException ex;
    
        private ThrowingIterator(RuntimeException ex) {
          this.ex = ex;
        }
    
        @Override
        public boolean hasNext() {
          // IteratorTester doesn't expect exceptions for hasNext().
          return true;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

    @ExperimentalOkHttpApi
    class MockWebServerRule : ExternalResource() {
      val server: MockWebServer = MockWebServer()
    
      override fun before() {
        try {
          server.start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      override fun after() {
        try {
          server.shutdown()
        } catch (e: IOException) {
          logger.log(Level.WARNING, "MockWebServer shutdown failed", e)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * A base exception class for CoreLib.
     *
     * @author higa
     * @author shinsuke
     */
    public class ClRuntimeException extends RuntimeException {
    
        private static final long serialVersionUID = -4452607868694297329L;
    
        private final String messageCode;
    
        private final Object[] args;
    
        private final String message;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      private static final class ThrowingIterator<E> implements Iterator<E> {
        private final RuntimeException ex;
    
        private ThrowingIterator(RuntimeException ex) {
          this.ex = ex;
        }
    
        @Override
        public boolean hasNext() {
          // IteratorTester doesn't expect exceptions for hasNext().
          return true;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/VerifyException.java

     * including those performed by the convenience methods of the {@link Verify} class.
     *
     * @since 17.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class VerifyException extends RuntimeException {
      /** Constructs a {@code VerifyException} with no message. */
      public VerifyException() {}
    
      /** Constructs a {@code VerifyException} with the message {@code message}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        try {
          super.testKeySetRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's HashMap.keySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRemoveAllNullFromEmpty() {
        try {
          super.testEntrySetRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's HashMap.entrySet().removeAll(null) doesn't throws NPE.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/PredicatesTest.java

        Boolean expectedResult = null;
        RuntimeException expectedRuntimeException = null;
        try {
          expectedResult = expected.apply(input);
        } catch (RuntimeException e) {
          expectedRuntimeException = e;
        }
    
        Boolean actualResult = null;
        RuntimeException actualRuntimeException = null;
        try {
          actualResult = actual.apply(input);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top