- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,662 for throws (0.09 sec)
-
guava-tests/test/com/google/common/io/FlushablesTest.java
public void testFlush_flushableWithEatenException() throws IOException { // make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception on flush. setupFlushable(true); doFlush(mockFlushable, true, false); } public void testFlush_flushableWithThrownException() throws IOException { // make sure that the exception is thrown if 'swallowException' is false
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
} public Object evaluate(String expression, Class<?> type) throws ExpressionEvaluationException { if (preprocessor != null) { try { return preprocessor.preprocessValue(expression, type); } catch (BeanConfigurationException e) { throw new ExpressionEvaluationException(e.getMessage(), e); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java
*/ public static PluginDescriptor fromXml(@Nonnull String xml) throws XmlReaderException { return new DefaultPluginXmlFactory().fromXmlString(xml); } /** * Simply converts the given content to an xml string. * * @param content the object to convert * @return the xml string representation * @throws XmlWriterException if an error occurs during the transformation
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
* @return {@link ResultSet} * @throws SQLRuntimeException * {@link SQLException}が発生した場合 */ public static ResultSet executeQuery(final PreparedStatement ps) throws SQLRuntimeException { assertArgumentNotNull("ps", ps); try { return ps.executeQuery(); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.9K bytes - Viewed (0) -
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) -
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) -
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/main/java/jcifs/smb/SmbPipeInputStream.java
/** * @param handle * @param th * @throws SmbException */ SmbPipeInputStream ( SmbPipeHandleImpl handle, SmbTreeHandleImpl th ) throws CIFSException { super(handle.getPipe(), th, null); this.handle = handle; } protected synchronized SmbTreeHandleImpl ensureTreeConnected () throws CIFSException { return this.handle.ensureTreeConnected(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 07:12:23 UTC 2018 - 3.5K 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) -
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java
* @param writer a writer object. * @param settings a settings object. * @throws IOException java.io.IOException if any. */ public void write(Writer writer, Settings settings) throws IOException { try { delegate.write(writer, settings.getDelegate()); } catch (XMLStreamException e) { throw new IOException(e); } } /** * Method write. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0)