类 WebSessionRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.core.NestedRuntimeException
cn.taketoday.session.WebSessionRequiredException
- 所有已实现的接口:
Serializable
public class WebSessionRequiredException
extends cn.taketoday.core.NestedRuntimeException
Exception thrown when an HTTP request handler requires a pre-existing session.
- 从以下版本开始:
- 4.0 2022/4/8 23:42
- 作者:
- Juergen Hoeller, Harry Yang
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器构造器说明Create a new HttpSessionRequiredException.WebSessionRequiredException(String msg, String expectedAttribute) Create a new HttpSessionRequiredException. -
方法概要
修饰符和类型方法说明Return the name of the expected session attribute, if any.从类继承的方法 cn.taketoday.core.NestedRuntimeException
contains, getMostSpecificCause, getNestedMessage, getRootCause
-
字段详细资料
-
expectedAttribute
-
-
构造器详细资料
-
WebSessionRequiredException
Create a new HttpSessionRequiredException.- 参数:
msg- the detail message
-
WebSessionRequiredException
Create a new HttpSessionRequiredException.- 参数:
msg- the detail messageexpectedAttribute- the name of the expected session attribute
-
-
方法详细资料
-
getExpectedAttribute
Return the name of the expected session attribute, if any.
-