Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,502 for throws (0.09 sec)

  1. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

    public class NumberConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_byte() throws Exception {
            assertEquals(new Byte("1"), NumberConversionUtil.convertNumber(Byte.class, "1"));
        }
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_primitiveWrapper() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NetServerEnumIterator.java

                doClose();
            }
            return n;
        }
    
    
        /**
         * @throws SmbException
         */
        private void checkStatus () throws SmbException {
            int status = this.response.getStatus();
            if ( status == WinError.ERROR_SERVICE_NOT_INSTALLED ) {
                throw new SmbUnsupportedOperationException();
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      }
    
      @Throws(SocketException::class)
      override fun getSendBufferSize(): Int {
        return delegate!!.sendBufferSize
      }
    
      @Throws(SocketException::class)
      override fun getSoTimeout(): Int {
        return delegate!!.soTimeout
      }
    
      @Throws(SocketException::class)
      override fun getTcpNoDelay(): Boolean {
        return delegate!!.tcpNoDelay
      }
    
      @Throws(SocketException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/ASN1Util.java

         * @throws PACDecodingException
         */
        public static <T extends Object> T as ( Class<T> type, Enumeration<?> enumeration ) throws PACDecodingException {
            return as(type, enumeration.nextElement());
        }
    
    
        /**
         * 
         * @param type
         * @param stream
         * @return next object from stream cast to type
         * @throws PACDecodingException
         * @throws IOException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/TimeoutTest.java

    
        /**
         * @param threadsBefore
         * @param start
         * @param ctx
         * @param f
         * @throws ConnectionTimeoutException
         * @throws SmbException
         */
        void runConnectTimeoutTest ( Set<Thread> threadsBefore, long start, CIFSContext ctx, SmbResource f )
                throws ConnectionTimeoutException, CIFSException {
            try {
                f.createNewFile();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

                    throw new TransferCancelledException();
                }
    
                @Override
                public void transferProgressed(TransferEvent event) throws TransferCancelledException {
                    throw new TransferCancelledException();
                }
    
                @Override
                public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

            return input;
          } catch (InterruptedException e) {
            throw new AssertionError();
          }
        }
    
        @Override
        public void sleepThenThrowException() throws SampleException {
          try {
            MILLISECONDS.sleep(delayMillis);
          } catch (InterruptedException e) {
          }
          throw new SampleException();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

        /**
         * @throws Exception
         */
        @Test(expected = IllegalPropertyRuntimeException.class)
        public void testSetValue_notWritable() throws Exception {
            final MyBean myBean = new MyBean();
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("aaa");
            propDesc.setValue(myBean, null);
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/rpc.java

            public int type;
            public uuid_t uuid;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.type);
                if ( this.uuid == null )
                    throw new NdrException(NdrException.NO_NULL_REF);
                _dst.enc_ndr_long(this.uuid.time_low);
                _dst.enc_ndr_short(this.uuid.time_mid);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  10. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        /**
         * @param reader a reader object.
         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return Model
         */
        public Settings read(Reader reader) throws IOException, XmlPullParserException {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top