- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for orElseThrow (0.04 sec)
-
impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java
// Find the resource with the custom directory Resource customResource = resources.stream() .filter(r -> r.getDirectory().endsWith("custom")) .findFirst() .orElseThrow(() -> new AssertionError("Custom resource not found")); // Verify targetPath was preserved through conversion chain assertEquals(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
"Failed to process metadata.", e); } }) .orElseThrow(() -> new SsoMessageException( messages -> messages.addErrorsFailedToProcessSsoRequest(UserMessages.GLOBAL_PROPERTY_KEY, "Invalid state."),Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Dec 14 01:18:25 UTC 2025 - 20.2K bytes - Viewed (3) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
*/ public String getServerPath() { return getSessionManager().getAttribute(Constants.SEARCH_ENGINE_API_ACCESS_TOKEN, String.class) .map(token -> ADMIN_SERVER + token) .orElseThrow(() -> new FessSystemException("Cannot create an access token.")); } /** * Generates and saves a new access token for the current session. * The token is used to authenticate API requests.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 12.9K bytes - Viewed (0)