Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 2,093 for cause (0.05 sec)

  1. src/main/java/org/codelibs/core/exception/NoSuchFieldRuntimeException.java

         *            Target class
         * @param fieldName
         *            Field name
         * @param cause
         *            The cause of the exception
         */
        public NoSuchFieldRuntimeException(final Class<?> targetClass, final String fieldName, final Throwable cause) {
            super("ECL0070", asArray(targetClass.getName(), fieldName), cause);
            this.targetClass = targetClass;
            this.fieldName = fieldName;
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbException.java

         *
         * @return the NT status code
         */
        public int getNtStatus() {
            return status;
        }
    
        /**
         * Returns the root cause of this exception if one exists
         *
         * @return the root cause throwable, or null if none exists
         */
        public Throwable getRootCause() {
            return rootCause;
        }
    
        @Override
        public String toString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. internal/grid/stream.go

    			// Drain channel.
    			for range s.responses {
    			}
    		}
    	}()
    	doneCh := s.ctx.Done()
    	for {
    		select {
    		case <-doneCh:
    			if err := context.Cause(s.ctx); !errors.Is(err, errStreamEOF) {
    				return err
    			}
    			// Fall through to be sure we have returned all responses.
    			doneCh = nil
    		case resp, ok := <-s.responses:
    			if !ok {
    				done = true
    				return nil
    			}
    			if resp.Err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/NullPointerTester.java

         */
        NPE_IAE_OR_UOE() {
          @Override
          public boolean isExpectedType(Throwable cause) {
            return cause instanceof NullPointerException
                || cause instanceof IllegalArgumentException
                || cause instanceof UnsupportedOperationException;
          }
        };
    
        abstract boolean isExpectedType(Throwable cause);
      }
    
      private static boolean annotatedTypeExists() {
        try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/RequestTimeoutException.java

         */
        public RequestTimeoutException() {
        }
    
        /**
         * Constructs a new RequestTimeoutException with the specified detail message and cause.
         *
         * @param msg the detail message
         * @param rootCause the cause of the exception
         */
        public RequestTimeoutException(final String msg, final Throwable rootCause) {
            super(msg, rootCause);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

            });
    
            // Check that the root cause is CIFSException
            assertTrue(exception instanceof java.lang.reflect.InvocationTargetException);
            Throwable cause = ((java.lang.reflect.InvocationTargetException) exception).getCause();
            assertTrue(cause instanceof CIFSException);
            assertTrue(cause.getMessage().contains("Failed to create multi-channel transport"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionResolutionException.java

        private final CoreExtension extension;
    
        public ExtensionResolutionException(CoreExtension extension, Throwable cause) {
            super(
                    "Extension " + extension.getId() + " or one of its dependencies could not be resolved: "
                            + cause.getMessage(),
                    cause);
            this.extension = extension;
        }
    
        public CoreExtension getExtension() {
            return extension;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        try {
          dns.lookup("google.com")
          fail<Any>()
        } catch (ioe: IOException) {
          assertThat(ioe.message).isEqualTo("google.com")
          val cause = ioe.cause!!
          assertThat(cause).isInstanceOf<IOException>()
          assertThat(cause).hasMessage("response size exceeds limit (65536 bytes): 65537 bytes")
        }
      }
    
      @Test
      fun failOnBadResponse() {
        server.enqueue(dnsResponse("00"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferFailedException.java

        public ArtifactTransferFailedException(final String message) {
            super(message);
        }
    
        public ArtifactTransferFailedException(final String message, final Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/InternalErrorException.java

     * Signals an internal error in Maven itself, e.g. a programming bug.
     *
     */
    public class InternalErrorException extends MavenExecutionException {
    
        public InternalErrorException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top