1 13 package org.jahia.security.accounts; 14 15 import org.jahia.exceptions.JahiaException; 16 17 18 24 public class AccountNotFoundException extends JahiaException 25 { 26 27 private String mUserKey = null; 28 29 30 private String mSiteKey = null; 31 32 33 41 public AccountNotFoundException (String userKey, String siteKey) 42 { 43 super ("Account could not be found.", "The account for user ["+ userKey + 44 "] on site [" + siteKey + "] could not be founds", 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 | Popular Tags |