Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for SecurityException (0.24 seconds)

  1. src/main/java/jcifs/smb1/Config.java

            Config.prp = new Properties(prp);
            try {
                Config.prp.putAll(System.getProperties());
            } catch (final SecurityException se) {
                if (LogStream.level > 1) {
                    log.println("SecurityException: jcifs.smb1 will ignore System properties");
                }
            }
        }
    
        /**
         * Load the <code>Config</code> with properties from the stream
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

      private static final Method DELEGATE_METHOD;
    
      static {
        try {
          DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate");
          DELEGATE_METHOD.setAccessible(true);
        } catch (SecurityException e) {
          throw new RuntimeException(e);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

      private static final Method DELEGATE_METHOD;
    
      static {
        try {
          DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate");
          DELEGATE_METHOD.setAccessible(true);
        } catch (SecurityException e) {
          throw new RuntimeException(e);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/Callables.java

         * see if we have the modifyThread permission without catching an exception?
         */
        try {
          currentThread.setName(threadName);
          return true;
        } catch (SecurityException e) {
          return false;
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                            } else {
                                return false;
                            }
                        } catch (ReflectiveOperationException | SecurityException e) {
                            return false;
                        }
                    })
                    .map(Method::getName)
                    .toList();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. docs/smb3-features/06-witness-protocol-design.md

            // Verify witness service is authorized
            if (!isAuthorizedWitnessServer(witnessServer)) {
                throw new SecurityException("Unauthorized witness server: " + witnessServer);
            }
        }
        
        public void validateNotification(WitnessNotification notification) throws SecurityException {
            // Validate notification authenticity
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      interface FinalizerLoader {
    
        /**
         * Returns a {@link Class} for {@link Finalizer} or {@code null} if this loader shouldn't or
         * can't load it.
         *
         * @throws SecurityException if we don't have the appropriate privileges
         */
        @Nullable Class<?> loadFinalizer();
      }
    
      /**
       * Tries to load Finalizer from the system class loader. If Finalizer is in the system class path,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/EnumsTest.java

        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 8.4K bytes
    - Click Count (0)
Back to Top