1 13 package org.jahia.security.accounts; 14 15 import org.jahia.exceptions.JahiaException; 16 17 23 public class AccountExpiredException extends JahiaException 24 { 25 26 private String mUserKey = null; 27 28 29 private String mSiteKey = null; 30 31 32 40 public AccountExpiredException (String userKey, String siteKey) 41 { 42 super ("Account has expired.", "The account for user ["+ userKey + 43 "] on site [" + siteKey + "] has expired.", 44 ACCOUNTS_ERROR, ERROR_SEVERITY); 45 mUserKey = userKey; 46 mSiteKey = siteKey; 47 } 48 49 50 57 public String getUserKey () { 58 return mUserKey; 59 } 60 61 62 69 public String getSiteKey () { 70 return mSiteKey; 71 } 72 } 73 74 | Popular Tags |