class SessionInfoFactory {

    public SessionInfo getSessionInfo(InternalSession internalSession, SessionID sessionID) throws SessionException {
        validateSession(internalSession, sessionID);
        return makeSessionInfo(internalSession, sessionID);
    }

}