Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 2,652 for throw (0.02 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            URL resourceUrl = cloader.getResource(resource);
    
            if (resourceUrl == null) {
                throw new FileNotFoundException("Unable to find: " + resource);
            }
    
            return new File(resourceUrl.toURI());
        }
    
        protected ArtifactRepository getLocalRepository() throws Exception {
            ArtifactRepositoryLayout repoLayout = getContainer().lookup(ArtifactRepositoryLayout.class);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      /**
       * Sends the given method call to this thread.
       *
       * @throws TimeoutException if this thread does not accept the request within a reasonable amount
       *     of time
       */
      private void sendRequest(String methodName, Object... arguments) throws Exception {
        if (!requestQueue.offer(new Request(methodName, arguments), TIMEOUT_MILLIS, MILLISECONDS)) {
          throw new TimeoutException();
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsExcelExtractor.java

         * java.util.Map)
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
                @SuppressWarnings("resource")
                final org.apache.poi.hssf.extractor.ExcelExtractor excelExtractor =
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ReaderUtil.java

            assertArgumentNotNull("is", is);
            assertArgumentNotEmpty("encoding", encoding);
    
            try {
                return new InputStreamReader(is, encoding);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * プラットフォームデフォルトエンコーディングでファイルから入力する{@link Reader}を作成します。
         *
         * @param file
         *            ファイル。{@literal null}であってはいけません
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

            this.handle = handle;
            if (server == null)
                server = "\\\\";
            MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
        public void close() throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                createClient(fessConfig).setObjectTags(args);
            } catch (final Exception e) {
                throw new StorageException("Failed to update tags for " + objectName, e);
            }
        }
    
        public static Map<String, String> getObjectTags(final String objectName) {
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            }
            throw new MethodNotFoundRuntimeException(beanClass, methodName, args);
        }
    
        @Override
        public MethodDesc[] getMethodDescs(final String methodName) {
            assertArgumentNotEmpty("methodName", methodName);
    
            final MethodDesc[] methodDescs = methodDescsCache.get(methodName);
            if (methodDescs == null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

            public SamrCloseHandle(rpc.policy_handle handle) {
                this.handle = handle;
            }
    
            public void encode_in(NdrBuffer _dst) throws NdrException {
                handle.encode(_dst);
            }
            public void decode_out(NdrBuffer _src) throws NdrException {
                retval = (int)_src.dec_ndr_long();
            }
        }
        public static class SamrConnect2 extends DcerpcMessage {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 14K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

        try {
          writeControlFrame(OPCODE_CONTROL_CLOSE, payload)
        } finally {
          writerClosed = true
        }
      }
    
      @Throws(IOException::class)
      private fun writeControlFrame(
        opcode: Int,
        payload: ByteString,
      ) {
        if (writerClosed) throw IOException("closed")
    
        val length = payload.size
        require(length <= PAYLOAD_BYTE_MAX) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

          if (foundTrustedCertificate) {
            return result
          }
    
          // The last link isn't trusted. Fail.
          throw SSLPeerUnverifiedException(
            "Failed to find a trusted cert that signed $toVerify",
          )
        }
    
        throw SSLPeerUnverifiedException("Certificate chain too long: $result")
      }
    
      /**
       * Returns true if [toVerify] was signed by [signingCert]'s public key.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top