Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 2,652 for throwIf (0.09 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                throws ModelInterpolationException {
            StringWriter sWriter = new StringWriter(1024);
    
            MavenStaxWriter writer = new MavenStaxWriter();
            try {
                writer.write(sWriter, model.getDelegate());
            } catch (IOException | XMLStreamException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                return trans.getServerEncryptionKey();
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( IOException e ) {
                throw new SmbException("Connection failed", e);
            }
        }
    
    
        @Override
        public void logon ( CIFSContext tf, Address dc ) throws SmbException {
            logon(tf, dc, 0);
        }
    
    
        @Override
        @Deprecated
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/TempFileCreator.java

                + " see the Javadoc for Files.createTempDir().";
    
        @Override
        File createTempDir() {
          throw new IllegalStateException(MESSAGE);
        }
    
        @Override
        File createTempFile(String prefix) throws IOException {
          throw new IOException(MESSAGE);
        }
      }
    
      private TempFileCreator() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type1Message.java

    
        private void parse ( byte[] material ) throws IOException {
            int pos = 0;
            for ( int i = 0; i < 8; i++ ) {
                if ( material[ i ] != NTLMSSP_SIGNATURE[ i ] ) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            pos += 8;
    
            if ( readULong(material, pos) != NTLMSSP_TYPE1 ) {
                throw new IOException("Not a Type 1 message.");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            getProperties().store(out, comments);
        }
    
        @Override
        public void store(final Writer writer, final String comments) throws IOException {
            getProperties().store(writer, comments);
        }
    
        @Override
        public void storeToXML(final OutputStream os, final String comment, final String encoding) throws IOException {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

         * One is for releases, the other for snapshots.
         * ]]></usage>
         * </expression>
         * <expressions>
         *
         * @throws IOException
         * @throws XmlPullParserException
         */
        private static Map<String, Expression> parseExpressionDocumentation(InputStream docStream)
                throws IOException, XmlPullParserException {
            ParamdocXpp3Reader paramdocReader = new ParamdocXpp3Reader();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     */
    public class ExecutionListTest extends TestCase {
    
      private final ExecutionList list = new ExecutionList();
    
      public void testRunOnPopulatedList() throws Exception {
        Executor exec = Executors.newCachedThreadPool();
        CountDownLatch countDownLatch = new CountDownLatch(3);
        list.add(new MockRunnable(countDownLatch), exec);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosToken.java

    public class KerberosToken {
    
        private KerberosApRequest apRequest;
    
    
        public KerberosToken ( byte[] token ) throws PACDecodingException {
            this(token, null);
        }
    
    
        public KerberosToken ( byte[] token, KerberosKey[] keys ) throws PACDecodingException {
    
            if ( token.length <= 0 )
                throw new PACDecodingException("Empty kerberos token");
    
            byte[] content;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      public void testScanFromFile_notJarFile() throws IOException {
        ClassLoader classLoader = ClassPathTest.class.getClassLoader();
        File notJar = File.createTempFile("not_a_jar", "txt");
        try {
          assertThat(new ClassPath.LocationInfo(notJar, classLoader).scanResources()).isEmpty();
        } finally {
          notJar.delete();
        }
      }
    
      public void testGetClassPathEntry() throws MalformedURLException, URISyntaxException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

                    int access,
                    rpc.sid_t sid) throws IOException {
            this.handle = handle;
            MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
        public void close() throws IOException {
            MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
Back to top