1 /*
2 * Copyright 2012-2025 CodeLibs Project and the Others.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 * either express or implied. See the License for the specific language
14 * governing permissions and limitations under the License.
15 */
16 package org.codelibs.fess.exception;
17
18 /**
19 * Exception thrown during SSO (Single Sign-On) processing operations.
20 *
21 * This exception is used to indicate errors that occur during the execution
22 * of SSO authentication and authorization processes. It extends FessSystemException
23 * to provide consistent error handling within the Fess system for SSO-related
24 * processing failures such as token validation errors, communication failures
25 * with SSO providers, or configuration issues.
26 */
27 public class SsoProcessException extends FessSystemException {
28
29 private static final long serialVersionUID = 1L;
30
31 /**
32 * Constructs a new SSO process exception with the specified detailed message.
33 *
34 * @param message The detailed error message explaining the cause of the exception
35 */
36 public SsoProcessException(final String message) {
37 super(message);
38 }
39
40 /**
41 * Constructs a new SSO process exception with the specified detailed message and cause.
42 *
43 * @param message The detailed error message explaining the cause of the exception
44 * @param cause The underlying exception that caused this SSO process exception
45 */
46 public SsoProcessException(final String message, final Throwable cause) {
47 super(message, cause);
48 }
49
50 }