- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 2,828 for exception (0.24 seconds)
-
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
// Test that constructor works in different thread final CrawlerEngineClient[] clientHolder = new CrawlerEngineClient[1]; final Exception[] exceptionHolder = new Exception[1]; Thread thread = new Thread(() -> { try { clientHolder[0] = new CrawlerEngineClient(); } catch (Exception e) { exceptionHolder[0] = e;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/jar/JarFileUtilTest.java
import java.net.URL; import junit.framework.TestCase; /** * @author koichik */ public class JarFileUtilTest extends TestCase { /** * @throws Exception */ public void testToJarFilePath() throws Exception { final File f = new File("/Program Files/foo.jar"); final URL url = new URL("jar:" + f.toURI().toURL() + "!/"); final String root = new File("/").getCanonicalPath();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/xml/DomUtilTest.java
/** * @throws Exception */ public void testGetContentsAsStream() throws Exception { final String contents = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><foo/>"; assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8")); } /** * @throws Exception */ public void testToString() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderException.java
import org.apache.maven.api.services.MavenException; /** * An exception thrown while reading an XML file. * * @since 4.0.0 */ @Experimental public class XmlReaderException extends MavenException { private final Location location; /** * @param message the message for the exception * @param e the exception itself */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 1.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; import org.codelibs.fess.app.web.RootAction; /** * Exception thrown when user role authentication fails during login attempts. * This exception is used to indicate that a user does not have the required role * to access a specific action or resource. * */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Nov 19 08:04:23 GMT 2025 - 2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
@Nested @DisplayName("Artifact Extraction") class GAVExtractionTests { @Test @DisplayName("should extract Artifact from complete POM") void shouldExtractGAVFromCompletePOM() throws Exception { String pomXml = PomBuilder.create() .groupId("com.example") .artifactId("test-project") .version("1.0.0") .build();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/ClassTraversalTest.java
*/ public class ClassTraversalTest { private static int count = 0; /** * @throws Exception */ @Before public void setUp() throws Exception { count = 0; } /** * @throws Exception */ @Test public void testForEachJarFile() throws Exception { final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.1K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java
/** * Send a message (and accompanying exception) to the user in the <b>debug</b> error level.<br> * The error's stacktrace will be output when this error level is enabled. * * @param content * @param error */ void debug(CharSequence content, Throwable error); /** * Send an exception to the user in the <b>debug</b> error level.<br>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.6K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
e.getMessage()); } } @Test void testIOException() throws Exception { Source src = mock(Source.class); IOException ioException = new IOException("MESSAGE"); doThrow(ioException).when(src).getInputStream(); doReturn("LOCATION").when(src).getLocation();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestExceptions.java
import org.jspecify.annotations.NullUnmarked; /** Exception classes for use in tests. */ @GwtCompatible @NullUnmarked final class TestExceptions { static class SomeError extends Error {} static class SomeCheckedException extends Exception {} static class SomeOtherCheckedException extends Exception {} static class YetAnotherCheckedException extends Exception {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0)