Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 3,187 for throwIt (0.03 sec)

  1. src/main/java/jcifs/pac/PacSignature.java

        /**
         * Constructs a PacSignature by parsing the provided data.
         *
         * @param data the raw signature data to parse
         * @throws PACDecodingException if the data is malformed or cannot be parsed
         */
        public PacSignature(final byte[] data) throws PACDecodingException {
            try {
                final PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/AuthenticationRateLimiter.java

         * @param sourceIp the source IP address
         * @return true if attempt is allowed, false if rate limited
         * @throws SmbException if account is locked out
         */
        public boolean checkAttempt(String username, String sourceIp) throws SmbException {
            if (closed.get()) {
                throw new IllegalStateException("Rate limiter is closed");
            }
    
            // Check global rate limit
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SIDTest.java

                assertEquals("alice", sid.getAccountName());
            }
    
            @Test
            @DisplayName("unwrap returns this for assignable type; otherwise throws ClassCastException")
            void testUnwrap() throws Exception {
                SID sid = new SID("S-1-5-21-1");
                // Happy path
                assertSame(sid, sid.unwrap(SID.class));
                assertSame(sid, sid.unwrap(Object.class));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/LogStreamTest.java

            resetLogStreamInstance();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            // Restore original state
            System.setErr(originalErr);
            LogStream.level = originalLevel;
            // Reset instance using reflection
            resetLogStreamInstance();
        }
    
        private void resetLogStreamInstance() throws Exception {
            // Use reflection to reset the static instance field to null
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        if (isDone()) {
          throw new TimeoutException(message + " but future completed as timeout expired");
        }
        throw new TimeoutException(message + " for " + futureToString);
      }
    
      @ParametricNullness
      @SuppressWarnings("nullness") // TODO(b/147136275): Remove once our checker understands & and |.
      final V blockingGet() throws InterruptedException, ExecutionException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @Override
            public byte getFileSystemInformationClass() {
                return informationClass;
            }
    
            @Override
            public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
                return 0;
            }
        }
    
        @Nested
        @DisplayName("Interface Constants Tests")
        class InterfaceConstantsTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

                causes.forEach(exception::addSuppressed);
                throw exception;
            }
        }
    
        public final void closeContainer() throws Exception {
            if (containerCapsuleManaged) {
                doCloseContainer();
            }
        }
    
        public void doCloseContainer() throws Exception {
            if (containerCapsule != null) {
                try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

        @Inject
        public DefaultProjectArtifactFactory(ArtifactFactory artifactFactory) {
            this.artifactFactory = artifactFactory;
        }
    
        @Override
        public Set<Artifact> createArtifacts(MavenProject project) throws InvalidDependencyVersionException {
            return createArtifacts(artifactFactory, project.getDependencies(), null, null, project);
        }
    
        public static Set<Artifact> createArtifacts(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

         * the fully qualified names of classes with the {@link Named} annotation.
         *
         * @throws IOException if there is an error reading or writing the file
         */
        private void updateFileIfChanged() throws IOException {
            String path = "META-INF/maven/org.apache.maven.api.di.Inject";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

         */
        public int getEpoch() {
            return epoch;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            if (len < 52) {
                throw new SMBProtocolDecodingException("Lease V2 context data too short: " + len);
            }
    
            // Read lease V2 data (52 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top