- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 414 for raises (0.1 seconds)
-
docs/es/docs/tutorial/handling-errors.md
{* ../../docs_src/handling_errors/tutorial001_py310.py hl[1] *} ### Lanza un `HTTPException` en tu código { #raise-an-httpexception-in-your-code } `HTTPException` es una excepción de Python normal con datos adicionales relevantes para APIs. Debido a que es una excepción de Python, no la `return`, sino que la `raise`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Throwables.java
* @return an unmodifiable list containing the cause chain starting with {@code throwable} * @throws IllegalArgumentException if there is a loop in the causal chain */ public static List<Throwable> getCausalChain(Throwable throwable) { checkNotNull(throwable); List<Throwable> causes = new ArrayList<>(4); causes.add(throwable);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
} @Test void throwsOnUnexpectedStructureSize() throws Exception { // structureSize != 49 and != 9 should raise an exception byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS); byte[] buf = new byte[header.length + 10]; System.arraycopy(header, 0, buf, 0, header.length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
} /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */ @SuppressWarnings("nullness") // test of a bogus call public void testBadArguments_null() { assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false)); } /** * Tests that specifying any alphanumeric characters as 'safe' causes an {@link * IllegalArgumentException}. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
### In Abhängigkeiten mit `yield` und `except` immer `raise` verwenden { #always-raise-in-dependencies-with-yield-and-except } Wenn Sie eine Exception in einer Abhängigkeit mit `yield` abfangen, sollten Sie – sofern Sie nicht eine andere `HTTPException` oder Ähnliches auslösen – **die ursprüngliche Exception erneut auslösen**. Sie können dieselbe Exception mit `raise` erneut auslösen:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 14.4K bytes - Click Count (0) -
internal/bucket/lifecycle/transition.go
) // TransitionDate is a embedded type containing time.Time to unmarshal // Date in Transition type TransitionDate struct { time.Time } // UnmarshalXML parses date from Transition and validates date format func (tDate *TransitionDate) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error { var dateStr string err := d.DecodeElement(&dateStr, &startElement) if err != nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 5.1K bytes - Click Count (0) -
docs/ru/llm-prompt.md
* OAuth2 scope: OAuth2 scope (clarify `область` if needed) * TLS Termination Proxy: прокси-сервер TSL-терминации * utilize (resources): использовать * сontent: содержимое (or `контент`) * raise exception: вызвать исключение (also possible to use `сгенерировать исключение` or `выбросить исключение`) * password flow: password flow (clarify as `аутентификация по паролю` if needed) * tutorial: руководство (or `учебник`)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Jan 22 07:07:05 GMT 2026 - 6.5K bytes - Click Count (0) -
scripts/people.py
) logging.error(response.text) raise RuntimeError(response.text) data = response.json() if "errors" in data: logging.error(f"Errors in response, after: {after}, category_id: {category_id}") logging.error(data["errors"]) logging.error(response.text) raise RuntimeError(response.text) return dataCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:51:24 GMT 2026 - 15K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withNestedCause() { // Test with nested exception causes Exception rootCause = new IllegalArgumentException("Root cause"); Exception middleCause = new IllegalStateException("Middle cause", rootCause);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
assertEquals("Malformed kerberos ticket", exception.getMessage(), "The exception message should indicate a malformed ticket."); } /** * Test constructor with an empty token. * Empty token causes readObject() to return null, which leads to NullPointerException. */ @Test void testConstructor_EmptyToken() { // 1. GIVEN byte[] emptyToken = new byte[0];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0)