Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for getCause (0.47 sec)

  1. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

            assertThat(clIllegalStateException.getMessage(), is("hoge"));
            assertThat(clIllegalStateException.getCause(), instanceOf(NullPointerException.class));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.Throwable)}
         * .
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

                        next.getSQLState())).append("], [");
                next = next.getNextException();
            }
            Throwable t = cause.getCause();
            while (t != null) {
                buf.append(t.getMessage()).append("], [");
                t = t.getCause();
            }
            buf.setLength(buf.length() - 4);
            return new String(buf);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
          if (throwable == slowPointer) {
            throw new IllegalArgumentException("Loop in causal chain detected.", throwable);
          }
          if (advanceSlowPointer) {
            slowPointer = slowPointer.getCause();
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
          if (throwable == slowPointer) {
            throw new IllegalArgumentException("Loop in causal chain detected.", throwable);
          }
          if (advanceSlowPointer) {
            slowPointer = slowPointer.getCause();
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java

                    new ClUnsupportedOperationException("hoge", new NullPointerException());
            assertThat(clUnsupportedOperationException.getMessage(), is("hoge"));
            assertThat(clUnsupportedOperationException.getCause(), instanceOf(NullPointerException.class));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClUnsupportedOperationException#SUnsupportedOperationException(java.lang.Throwable)}
         * .
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

    import javax.annotation.CheckForNull;
    
    /**
     * {@link Error} variant of {@link java.util.concurrent.ExecutionException}. As with {@code
     * ExecutionException}, the error's {@linkplain #getCause() cause} comes from a failed task,
     * possibly run in another thread. That cause should itself be an {@code Error}; if not, use {@code
     * ExecutionException} or {@link UncheckedExecutionException}. This allows the client code to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java

                                    .location(toolchainsSource.getLocation())
                                    .strict(false)
                                    .build());
                    Location loc = e.getCause() instanceof XMLStreamException xe ? xe.getLocation() : null;
                    problems.add(new DefaultBuilderProblem(
                            toolchainsSource.getLocation(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

        public void testGetCause() throws Exception {
            final Throwable t = new NullPointerException("test");
            final ClRuntimeException ex = new ClRuntimeException("ECL0017", asArray(t), t);
            assertThat(ex.getCause(), is(t));
            ex.printStackTrace();
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
            assertThat(e.getValue(), is((Object) "xxx"));
            assertThat(e.getCause().getMessage(), is("cause"));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                                        .location(settingsSource.getLocation())
                                        .strict(false)
                                        .build());
                        Location loc = e.getCause() instanceof XMLStreamException xe ? xe.getLocation() : null;
                        problems.add(new DefaultBuilderProblem(
                                settingsSource.getLocation(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top