- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for MissingResourceException (0.44 sec)
-
platforms/software/resources/src/main/java/org/gradle/api/resources/MissingResourceException.java
/** * Exception thrown when the resource does not exist */ public class MissingResourceException extends ResourceException { public MissingResourceException(String message) { super(message); } public MissingResourceException(String message, Throwable cause) { super(message, cause); } public MissingResourceException(URI location, String message) { super(location, message); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/ResourceExceptions.java
} public static MissingResourceException readMissing(File location, Throwable failure) { return new MissingResourceException(location.toURI(), String.format("Could not read '%s' as it does not exist.", location), failure instanceof FileNotFoundException ? null : failure); } public static MissingResourceException getMissing(URI location, Throwable failure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/maven/MavenMetadataLoader.java
*/ package org.gradle.api.internal.artifacts.repositories.maven; import org.apache.ivy.util.ContextualSAXHandler; import org.apache.ivy.util.XMLHelper; import org.gradle.api.resources.MissingResourceException; import org.gradle.api.resources.ResourceException; import org.gradle.internal.ErroringAction; import org.gradle.internal.resource.ExternalResource; import org.gradle.internal.resource.ExternalResourceName;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/UriTextResourceTest.groovy
when: resource.text then: def e = thrown(MissingResourceException) e.message == "Could not read <display-name> '$file' as it does not exist." as String when: resource.asReader then: e = thrown(MissingResourceException) e.message == "Could not read <display-name> '$file' as it does not exist." as String
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResource.java
*/ URI getURI(); /** * Copies the contents of this resource to the given file. * * @throws ResourceException on failure to copy the content. * @throws org.gradle.api.resources.MissingResourceException when the resource does not exist */ ExternalResourceReadResult<Void> writeTo(File destination) throws ResourceException; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/maven/MavenVersionLister.java
package org.gradle.api.internal.artifacts.repositories.maven; import org.gradle.api.artifacts.ModuleIdentifier; import org.gradle.api.internal.artifacts.repositories.resolver.ResourcePattern; import org.gradle.api.resources.MissingResourceException; import org.gradle.internal.resolve.result.BuildableModuleVersionListingResolveResult; import org.gradle.internal.resource.ExternalResourceName; import java.util.ArrayList; import java.util.HashSet;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Enumeration; import java.util.Locale; import java.util.Map; import java.util.MissingResourceException; import java.util.ResourceBundle; import org.codelibs.core.misc.LocaleUtil; /** * {@link ResourceBundle}用のユーティリティクラスです。 * * @author higa */ public abstract class ResourceBundleUtil {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/MaybeCompressedFileResource.java
import org.gradle.api.internal.file.archive.compression.CompressedReadableResource; import org.gradle.api.internal.file.archive.compression.GzipArchiver; import org.gradle.api.resources.MissingResourceException; import org.gradle.api.resources.ReadableResource; import org.gradle.api.resources.internal.ReadableResourceInternal; import org.gradle.api.tasks.bundling.Compression; import java.io.File;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 10:39:11 UTC 2019 - 2.6K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/local/LocalFileStandInExternalResourceTest.groovy
* limitations under the License. */ package org.gradle.internal.resource.local import org.gradle.api.Action import org.gradle.api.internal.file.TestFiles import org.gradle.api.resources.MissingResourceException import org.gradle.api.resources.ResourceException import org.gradle.internal.resource.ExternalResource import org.gradle.internal.resource.metadata.ExternalResourceMetaData
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 14K bytes - Viewed (0) -
platforms/software/resources/src/integTest/groovy/org/gradle/internal/resource/UriTextResourceIntegrationTest.groovy
* limitations under the License. */ package org.gradle.internal.resource import org.gradle.api.internal.file.IdentityFileResolver import org.gradle.api.resources.MissingResourceException import org.gradle.test.fixtures.server.http.BlockingHttpServer import org.junit.Rule import spock.lang.Specification class UriTextResourceIntegrationTest extends Specification { @Rule
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.7K bytes - Viewed (0)