List of usage examples for org.apache.shiro.session SessionException SessionException
public SessionException(Throwable cause)
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*/ }