Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 347 for Krause (0.26 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

            return OptionalThing.of(asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, cause))));
        }
    
        @Override
        public OptionalThing<ApiResponse> handleServerException(final ApiFailureResource resource, final Throwable cause) {
            return OptionalThing.of(asJson(createFailureBean(Status.SYSTEM_ERROR, createMessage(resource, cause))));
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/InvocationTargetRuntimeException.java

         *
         * @param targetClass
         *            ターゲットクラス
         * @param cause
         *            原因となった例外
         */
        public InvocationTargetRuntimeException(final Class<?> targetClass, final InvocationTargetException cause) {
            super("ECL0043", asArray(targetClass.getName(), cause.getTargetException()), cause.getTargetException());
            this.targetClass = targetClass;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. docs_src/security/tutorial004.py

            username: str = payload.get("sub")
            if username is None:
                raise credentials_exception
            token_data = TokenData(username=username)
        except JWTError:
            raise credentials_exception
        user = get_user(fake_users_db, username=token_data.username)
        if user is None:
            raise credentials_exception
        return user
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. docs_src/security/tutorial004_an.py

            username: str = payload.get("sub")
            if username is None:
                raise credentials_exception
            token_data = TokenData(username=username)
        except JWTError:
            raise credentials_exception
        user = get_user(fake_users_db, username=token_data.username)
        if user is None:
            raise credentials_exception
        return user
    
    
    async def get_current_active_user(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over client,tasks: Can raise exception for dependency, handled after response is sent
        Note over client,operation: Can raise HTTPException and can change the response
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise
            dep -->> handler: Raise HTTPException
            handler -->> client: HTTP error response
            dep -->> dep: Raise other exception
        end
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. docs_src/dependencies/tutorial008c_an.py

        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 710 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <ul>
       *   <li>Any {@link ExecutionException} has its <i>cause</i> wrapped in an {@code X} if the cause
       *       is a checked exception, an {@link UncheckedExecutionException} if the cause is a {@code
       *       RuntimeException}, or an {@link ExecutionError} if the cause is an {@code Error}.
       *   <li>Any {@link InterruptedException} is wrapped in an {@code X} (after restoring the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/ParseRuntimeException.java

        private static final long serialVersionUID = -5237329676597387063L;
    
        /**
         * {@link ParseRuntimeException}を作成します。
         *
         * @param cause
         *            原因となった例外
         */
        public ParseRuntimeException(final ParseException cause) {
            super("ECL0050", asArray(cause), cause);
        }
    
        /**
         * {@link ParseRuntimeException}を作成します。
         *
         * @param s
         *            解析できなかった文字列
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/IllegalAccessRuntimeException.java

         *
         * @param targetClass
         *            ターゲットクラス
         * @param cause
         *            原因となった例外
         */
        public IllegalAccessRuntimeException(final Class<?> targetClass, final IllegalAccessException cause) {
            super("ECL0042", asArray(targetClass.getName(), cause), cause);
            this.targetClass = targetClass;
        }
    
        /**
         * ターゲットクラスを返します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. fastapi/exceptions.py

    from starlette.exceptions import WebSocketException as StarletteWebSocketException
    from typing_extensions import Annotated, Doc
    
    
    class HTTPException(StarletteHTTPException):
        """
        An HTTP exception you can raise in your own code to show errors to the client.
    
        This is for client errors, invalid authentication, invalid data, etc. Not for server
        errors in your code.
    
        Read more about it in the
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top