- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 4,853 for Throw (0.08 sec)
-
platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/exceptions/DefaultMultiCauseExceptionIntegrationTest.groovy
class DefaultMultiCauseExceptionIntegrationTest extends AbstractIntegrationSpec { def 'when tasks throw exceptions that offer resolutions, those resolutions are included'() { given: buildFile << """ ${defineTestException()} tasks.register('myTask') { doLast { throw new TestResolutionProviderException('resolution1') } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/xml/XmlFactories.java
return spf; } catch (ParserConfigurationException e) { throw new RuntimeException(errorMessageFor("SAXParserFactory"), e); } catch (SAXNotSupportedException e) { throw new RuntimeException(errorMessageFor("SAXParserFactory"), e); } catch (SAXNotRecognizedException e) { throw new RuntimeException(errorMessageFor("SAXParserFactory"), e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 25 23:24:49 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java
} catch (NoSuchMethodException e) { throw new NoSuchMethodError(e.getMessage()); } catch (IllegalAccessException e) { throw new IllegalAccessError(e.getMessage()); } catch (ClassNotFoundException e) { throw new RuntimeException(e); } } public MetaClassAdapter determineDelegate(Object bean) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 29.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
thread = null; throw new TransportException( "Connection timeout" ); case 2: if (te != null) { /* doConnect throw Exception */ state = 4; /* error */ thread = null; throw te; }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 9K bytes - Viewed (0) -
guava/src/com/google/common/io/Closer.java
* types your try block can throw when calling an overload of this method so as to avoid losing * the original exception type. * * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);} * to ensure the compiler knows that it will throw. * * @return this method does not return; it always throws
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
public T next() { try { return iterator.next(); } catch (NoSuchElementException e) { nextThrewException = true; throw e; } } @Override public void remove() { if (nextThrewException) { throw new IllegalStateException(); } iterator.remove(); } } public void testCanCatchSunJavaBug6529795InTargetIterator() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
disconnect(true); throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode); } break; case -1: disconnect(true); throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED); default: disconnect(true); throw new NbtException(NbtException.ERR_SSN_SRVC, 0);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
throw new SmbUnsupportedOperationException(); } throw e; } try ( SmbFile browser = (SmbFile) parent.resolve(addr.getHostAddress()) ) { try ( SmbTreeHandleImpl th = browser.ensureTreeConnected() ) { if ( th.isSMB2() ) { throw new SmbUnsupportedOperationException();
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Jul 20 08:41:19 UTC 2019 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* types your try block can throw when calling an overload of this method so as to avoid losing * the original exception type. * * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);} * to ensure the compiler knows that it will throw. * * @return this method does not return; it always throws
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsDirectoryResource.groovy
expectGetMissing() } @Override void expectMetadataRetrieve() { throw new UnsupportedOperationException() } @Override void expectMetadataRetrieveMissing() { throw new UnsupportedOperationException() } @Override void expectMetadataRetrieveBroken() { throw new UnsupportedOperationException() } @Override void expectParentMkdir() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.5K bytes - Viewed (0)