- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,742 for throws (0.05 sec)
-
src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java
* */ public class ShortConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToShort() throws Exception { assertEquals(new Short("1000"), ShortConversionUtil.toShort("1,000")); } /** * @throws Exception */ public void testToPrimitiveShort() throws Exception { assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestInputStream.java
public int read() throws IOException { throwIf(closed); throwIf(READ_THROWS); return in.read(); } @Override public int read(byte[] b, int off, int len) throws IOException { throwIf(closed); throwIf(READ_THROWS); return in.read(b, off, len); } @Override public long skip(long n) throws IOException { throwIf(closed); throwIf(SKIP_THROWS); return in.skip(n); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
} public void testSuccessful() throws Exception { assertThat(future.set(1)).isTrue(); assertSuccessful(future, 1); } public void testFailed() throws Exception { Exception cause = new Exception(); assertThat(future.setException(cause)).isTrue(); assertFailed(future, cause); } public void testCanceled() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 15.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
* @param wagon * @param repository * * @throws ConnectionException * @throws AuthenticationException */ private void connectWagon(Wagon wagon, ArtifactRepository repository) throws ConnectionException, AuthenticationException { // MNG-5509 // See org.eclipse.aether.connector.wagon.WagonRepositoryConnector.connectWagon(Wagon) if (legacySupport.getRepositorySession() != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
} void decode_header(NdrBuffer buf) throws NdrException { /* RPC major / minor version */ if (buf.dec_ndr_small() != 5 || buf.dec_ndr_small() != 0) throw new NdrException("DCERPC version not supported"); ptype = buf.dec_ndr_small(); flags = buf.dec_ndr_small(); if (buf.dec_ndr_long() != 0x00000010) /* Little-endian / ASCII / IEEE */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
// test case for #30 @Test ( expected = MalformedURLException.class ) public void testInvalid () throws MalformedURLException, CIFSException { try ( SmbResource p = new SmbFile("smb:a", getContext()) ) { p.getType(); } } // #41 @Test public void testGetName () throws MalformedURLException, CIFSException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 13:16:07 UTC 2020 - 23K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
private SmbPipeHandleInternal handle; /** * @param url * @param tc * @param unshared * @throws DcerpcException * @throws MalformedURLException */ public DcerpcPipeHandle ( String url, CIFSContext tc, boolean unshared ) throws DcerpcException, MalformedURLException { super(tc, DcerpcHandle.parseBinding(url));
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jan 26 11:51:07 UTC 2020 - 5.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
* @return all the constraints implicitly or explicitly required by the class or any of its * superclasses. * @throws ConflictingRequirementsException if the requirements are mutually inconsistent. */ public static TesterRequirements getTesterRequirements(Class<?> testerClass) throws ConflictingRequirementsException { synchronized (classTesterRequirementsCache) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 05 22:05:05 UTC 2024 - 12.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
@Nonnull Collection<String> getChecksumAlgorithmNames(); /** * Returns {@link ChecksumAlgorithm} for given algorithm name, or throws if algorithm not supported. * * @throws ChecksumAlgorithmServiceException if asked algorithm name is not supported. * @throws NullPointerException if passed in name is {@code null}. */ @Nonnull ChecksumAlgorithm select(@Nonnull String algorithmName); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/TokenizerTest.java
* */ public class TokenizerTest { /** * @throws Exception */ @Test public void testEOF() throws Exception { final Tokenizer tokenizer = new Tokenizer(""); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2K bytes - Viewed (0)