- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 2,437 for execution (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/tutorial/handling-errors.md
## Install custom exception handlers { #install-custom-exception-handlers } You can add custom exception handlers with [the same exception utilities from Starlette](https://www.starlette.dev/exceptions/). Let's say you have a custom exception `UnicornException` that you (or a library you use) might `raise`. And you want to handle this exception globally with FastAPI.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
when(response.getHeaderStart()).thenReturn(0); SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex), "Should throw exception for unknown quota info class"); assertTrue(exception.getMessage().contains("Unknown quota info class")); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java
private final int columnNumber; private final String message; private final Exception exception; private final Severity severity; /** * Creates a new problem with the specified message and exception. * Either {@code message} or {@code exception} is required * * @param message The message describing the problem, may be {@code null}.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/ByteConversionUtilTest.java
* */ public class ByteConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToByte() throws Exception { assertEquals(Byte.valueOf("100"), ByteConversionUtil.toByte("100")); } /** * @throws Exception */ public void testToPrimitiveByte() throws Exception { assertEquals(100, ByteConversionUtil.toPrimitiveByte("100")); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 1.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/DoubleConversionUtilTest.java
*/ public class DoubleConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToDouble() throws Exception { assertEquals(Double.valueOf("1000.5"), DoubleConversionUtil.toDouble("1,000.5")); } /** * @throws Exception */ public void testToPrimitiveDouble() throws Exception { assertEquals(1000.5, DoubleConversionUtil.toPrimitiveDouble("1,000.5"), 0); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/FloatConversionUtilTest.java
*/ public class FloatConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToFloat() throws Exception { assertEquals(Float.valueOf("1000.5"), FloatConversionUtil.toFloat("1,000.5")); } /** * @throws Exception */ public void testToPrimitiveFloat() throws Exception { assertEquals(1000.5, FloatConversionUtil.toPrimitiveFloat("1,000.5"), 0); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
*/ public class MimeTypeUtilTest { /** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /** * @throws Exception */ @Test public void testGetFromStream() throws Exception { final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/aaa.html";Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
return "leave"; } public final void testMutualExclusion() throws Exception { thread1.callAndAssertReturns(enter()); thread2.callAndAssertBlocks(enter()); thread1.callAndAssertReturns(leave()); thread2.assertPriorCallReturns(enter()); } public final void testTryEnter() throws Exception { thread1.callAndAssertReturns(true, tryEnter());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/SsoMessageException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; import org.codelibs.fess.mylasta.action.FessMessages; import org.lastaflute.web.validation.VaMessenger; /** * Exception thrown during SSO (Single Sign-On) processing with message code support. * * This exception is used to indicate errors that occur during SSO authentication
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
import junit.framework.TestCase; import org.junit.Test; /** * @author koichik */ public class ClassLoaderUtilTest { /** * @throws Exception */ @Test public void testGetClassLoader() throws Exception { assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader())));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3K bytes - Click Count (0)