Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for IllegalStateException (0.36 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

       * involving any parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalStateException if {@code expression} is false
       * @see Verify#verify Verify.verify()
       */
      public static void checkState(boolean expression) {
        if (!expression) {
          throw new IllegalStateException();
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/ClIllegalStateException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    /**
     * {@link IllegalStateException}をラップする例外です。
     *
     * @author wyukawa
     */
    public class ClIllegalStateException extends IllegalStateException {
    
        private static final long serialVersionUID = -2154525994315946504L;
    
        /**
         * {@link ClIllegalStateException}を作成します。
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          }
        }
        return suite;
      }
    
      /** Throw {@link IllegalStateException} if {@link #createTestSuite()} can't be called yet. */
      protected void checkCanCreate() {
        if (subjectGenerator == null) {
          throw new IllegalStateException("Call using() before createTestSuite().");
        }
        if (name == null) {
          throw new IllegalStateException("Call named() before createTestSuite().");
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

    import com.google.inject.Scope;
    
    /**
     * SessionScope
     */
    public class SessionScope implements Scope {
    
        private static final Provider<Object> SEEDED_KEY_PROVIDER = () -> {
            throw new IllegalStateException();
        };
    
        /**
         * ScopeState
         */
        protected static final class ScopeState {
            private final Map<Key<?>, CachingProvider<?>> provided = new ConcurrentHashMap<>();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java

            String resource = "/org/apache/maven/model/pom-" + v + ".xml";
            URL url = getClass().getResource(resource);
            if (url == null) {
                throw new IllegalStateException("The super POM " + resource + " was not found"
                        + ", please verify the integrity of your Maven installation");
            }
            try (InputStream is = url.openStream()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/AbstractNetwork.java

            + allowsSelfLoops()
            + ", nodes: "
            + nodes()
            + ", edges: "
            + edgeIncidentNodesMap(this);
      }
    
      /**
       * Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given edge is
       * not present in this network.
       *
       * @since 33.1.0
       */
      protected final <T> Set<T> edgeInvalidatableSet(Set<T> set, E edge) {
        return InvalidatableSet.of(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          }
        }
        return suite;
      }
    
      /** Throw {@link IllegalStateException} if {@link #createTestSuite()} can't be called yet. */
      protected void checkCanCreate() {
        if (subjectGenerator == null) {
          throw new IllegalStateException("Call using() before createTestSuite().");
        }
        if (name == null) {
          throw new IllegalStateException("Call named() before createTestSuite().");
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        static final PermittedMetaException UOE_OR_ISE =
            new PermittedMetaException("UnsupportedOperationException or IllegalStateException") {
              @Override
              boolean isPermitted(Exception exception) {
                return exception instanceof UnsupportedOperationException
                    || exception instanceof IllegalStateException;
              }
            };
        static final PermittedMetaException UOE =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        static final PermittedMetaException UOE_OR_ISE =
            new PermittedMetaException("UnsupportedOperationException or IllegalStateException") {
              @Override
              boolean isPermitted(Exception exception) {
                return exception instanceof UnsupportedOperationException
                    || exception instanceof IllegalStateException;
              }
            };
        static final PermittedMetaException UOE =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

         *
         * @param groupId never {@code null}
         * @param artifactId never {@code null}
         * @param version can be {@code null}
         * @return the matching model or {@code null}
         * @throws IllegalStateException if version was null and multiple modules share the same groupId + artifactId
         */
        public Model get(String groupId, String artifactId, String version) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top