Example usage for org.apache.shiro.session SessionException SessionException

List of usage examples for org.apache.shiro.session SessionException SessionException

Introduction

In this page you can find the example usage for org.apache.shiro.session SessionException SessionException.

Prototype

public SessionException(Throwable cause) 

Source Link

Document

Constructs a new SessionException.

Usage

From source file:com.sanweibook.lingdu.shiro.session.redisSessionDAO.java

License:Apache License

private void checkSession(Session session) {
    if (session == null || session.getId() == null) {
        throw new SessionException("Session cannot be null");
    }/*from  www .  ja  v  a 2s  .  c  o m*/
}