📄 accountnotfoundexception.java
字号:
//// ____.// __/\ ______| |__/\. _______// __ .____| | \ | +----+ \// _______| /--| | | - \ _ | : - \_________// \\______: :---| : : | : | \________>// |__\---\_____________:______: :____|____:_____\// /_____|//// . . . i n j a h i a w e t r u s t . . .//package org.jahia.security.accounts;import org.jahia.exceptions.JahiaException;/** This exception is thrown when an account for a specified user is requested * and cannot be found. * * @author Fulco Houkes * @version 1.0 */public class AccountNotFoundException extends JahiaException{ /** User unique key */ private String mUserKey = null; /** Site unique key */ private String mSiteKey = null; //------------------------------------------------------------------------- /** Default constructor. * * @param userKey * The user unique identification key. * @param siteKey * The site unique identification key. */ public AccountNotFoundException (String userKey, String siteKey) { super ("Account could not be found.", "The account for user ["+ userKey + "] on site [" + siteKey + "] could not be founds", ACCOUNTS_ERROR, ERROR); mUserKey = userKey; mSiteKey = siteKey; } //------------------------------------------------------------------------- /** * Return the user key. * * @return * Return the user reference. */ public String getUserKey () { return mUserKey; } //------------------------------------------------------------------------- /** * Return the site key. * * @return * Return the site key ID. */ public String getSiteKey () { return mSiteKey; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -