Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 492 for RuntimeException (0.09 seconds)

  1. src/test/java/jcifs/smb/MIENameTest.java

        private static byte[] oidDer() {
            // Full DER encoding of the OID
            try {
                return testOid().toASN1Primitive().getEncoded();
            } catch (java.io.IOException e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Parses a valid buffer and exposes fields")
        void parseValidBuffer() {
            // Arrange
            String name = "******@****.***";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/VerifyException.java

     * including those performed by the convenience methods of the {@link Verify} class.
     *
     * @since 17.0
     */
    @GwtCompatible
    public class VerifyException extends RuntimeException {
      /** Constructs a {@code VerifyException} with no message. */
      public VerifyException() {}
    
      /** Constructs a {@code VerifyException} with the message {@code message}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        return !RuntimeException.class.isAssignableFrom(type);
      }
    
      @VisibleForTesting
      static void checkExceptionClassValidity(Class<? extends Exception> exceptionClass) {
        checkArgument(
            isCheckedException(exceptionClass),
            "Futures.getChecked exception type (%s) must not be a RuntimeException",
            exceptionClass);
        checkArgument(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

     * callers to determine which specific requests failed and why.
     *
     * @since 4.0.0
     */
    @Experimental
    public class BatchRequestException extends RuntimeException {
    
        private final List<RequestResult<?, ?>> results;
    
        /**
         * Constructs a new BatchRequestException with the specified message and results.
         *
         * @param <REQ> The type of the request
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. 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
    public class VerifyException extends RuntimeException {
      /** Constructs a {@code VerifyException} with no message. */
      public VerifyException() {}
    
      /** Constructs a {@code VerifyException} with the message {@code message}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            }
    
            @Test
            @DisplayName("Should handle null message with root cause")
            void testConstructorWithNullMessageAndRootCause() {
                Exception rootCause = new RuntimeException("Root cause");
                TransportException exception = new TransportException(null, rootCause);
    
                assertNotNull(exception);
                assertNull(exception.getMessage());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

          reversedList = reversedList.next;
        }
      }
    
      /**
       * Submits the given runnable to the given {@link Executor} catching and logging all {@linkplain
       * RuntimeException runtime exceptions} thrown by the executor.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void executeListener(Runnable runnable, Executor executor) {
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            if (t instanceof Exception exception && !(t instanceof RuntimeException)) {
                eventCatapult.fire(ExecutionEvent.Type.ProjectFailed, currentSession, null, exception);
            }
    
            // reactor failure modes
            if (t instanceof RuntimeException || !(t instanceof Exception)) {
                // fail fast on RuntimeExceptions, Errors and "other" Throwables
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java

                    .setLoggerName("org.codelibs.fess.test") //
                    .setLevel(Level.ERROR) //
                    .setMessage(new SimpleMessage("test error")) //
                    .setThrown(new RuntimeException("test exception")) //
                    .setTimeMillis(System.currentTimeMillis()) //
                    .build();
            appender.append(event);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java

     * This exception is used to indicate that a user does not have the required role
     * to access a specific action or resource.
     *
     */
    public class UserRoleLoginException extends RuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /** The action class that requires specific user roles */
        private final Class<? extends RootAction> actionClass;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top