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