- Sort Score
- Num 10 results
- Language All
Results 1851 - 1860 of 2,252 for exception (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java
package org.codelibs.core.security; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import org.codelibs.core.exception.EmptyArgumentException; import org.codelibs.core.exception.NoSuchAlgorithmRuntimeException; import org.junit.Test; /** * @author shinsuke * */ public class MessageDigestUtilTest { /** * */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
import org.codelibs.core.CoreLibConstants; import org.codelibs.core.exception.BadPaddingRuntimeException; import org.codelibs.core.exception.IllegalBlockSizeRuntimeException; import org.codelibs.core.exception.InvalidKeyRuntimeException; import org.codelibs.core.exception.NoSuchAlgorithmRuntimeException; import org.codelibs.core.exception.NoSuchPaddingRuntimeException; import org.codelibs.core.exception.UnsupportedEncodingRuntimeException;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
DcerpcException ex2 = new DcerpcException("Access denied error"); assertTrue(ex2 instanceof DcerpcError, "DcerpcException should implement DcerpcError"); // Test with root cause Exception rootCause = new Exception("Root cause"); DcerpcException ex3 = new DcerpcException("Error with cause", rootCause); assertEquals(rootCause, ex3.getCause()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/SAXParserUtil.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.IOException; import javax.xml.parsers.SAXParser; import org.codelibs.core.exception.IORuntimeException; import org.codelibs.core.exception.SAXRuntimeException; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.xml.sax.XMLReader;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
import java.util.Map; import org.codelibs.core.collection.ArrayUtil; import org.codelibs.core.exception.ClIllegalArgumentException; import org.codelibs.core.exception.ClIllegalStateException; import org.codelibs.core.exception.ClIndexOutOfBoundsException; import org.codelibs.core.exception.EmptyArgumentException; import org.codelibs.core.exception.NullArgumentException; import org.codelibs.core.lang.StringUtil; /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 12.5K bytes - Click Count (0) -
docs/uk/docs/tutorial/handling-errors.md
{* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *} ## Встановлення власних обробників виключень { #install-custom-exception-handlers } Ви можете додати власні обробники виключень за допомогою [тих самих утиліт для виключень зі Starlette](https://www.starlette.dev/exceptions/). Припустімо, у вас є власне виключення `UnicornException`, яке ви (або бібліотека, яку ви використовуєте) можете `raise`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 13.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Range.java
* * <ul> * <li>{@code [a..a]} : a singleton range * <li>{@code [a..a); (a..a]} : {@linkplain #isEmpty empty} ranges; also valid * <li>{@code (a..a)} : <b>invalid</b>; an exception will be thrown * </ul> * * <h3>Warnings</h3> * * <ul> * <li>Use immutable value types only, if at all possible. If you must use a mutable type, <b>do
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28.3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* if this queue is full. This method is generally preferable to method {@link #add}, which can * fail to insert an element only by throwing an exception. * * @throws NullPointerException if the specified element is null */ @CanIgnoreReturnValue @Override public boolean offer(E e) { checkNotNull(e); Monitor monitor = this.monitor;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java
import javax.xml.XMLConstants; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.codelibs.core.exception.ParserConfigurationRuntimeException; import org.codelibs.core.exception.SAXRuntimeException; import org.xml.sax.SAXException; import org.xml.sax.SAXNotRecognizedException; import org.xml.sax.SAXNotSupportedException; /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/handling-errors.md
一般情况下你可能不会在代码中直接使用它。 但在某些高级场景中需要时,你可以添加自定义响应头: {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *} ## 安装自定义异常处理器 { #install-custom-exception-handlers } 可以使用[与 Starlette 相同的异常处理工具](https://www.starlette.dev/exceptions/)添加自定义异常处理器。 假设有一个自定义异常 `UnicornException`(你自己或你使用的库可能会 `raise` 它)。 并且你希望用 FastAPI 在全局处理该异常。 此时,可以用 `@app.exception_handler()` 添加自定义异常处理器:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.2K bytes - Click Count (0)