Class NoSuchProfileException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.craftercms.profile.api.exceptions.ProfileException
-
- org.craftercms.profile.api.exceptions.I10nProfileException
-
- org.craftercms.profile.exceptions.NoSuchProfileException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NoSuchProfileException.ById
,NoSuchProfileException.ByQuery
,NoSuchProfileException.ByTicket
,NoSuchProfileException.ByUsername
public class NoSuchProfileException extends I10nProfileException
Thrown if no profile with a specified ID was found.- Author:
- avasquez
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NoSuchProfileException.ById
static class
NoSuchProfileException.ByQuery
static class
NoSuchProfileException.ByTicket
static class
NoSuchProfileException.ByUsername
-
Field Summary
Fields Modifier and Type Field Description static String
KEY_BY_ID
static String
KEY_BY_QUERY
static String
KEY_BY_TICKET
static String
KEY_BY_USERNAME
-
Fields inherited from class org.craftercms.profile.api.exceptions.I10nProfileException
args, ERROR_BUNDLE_NAME, key
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NoSuchProfileException(String key, Object... args)
-
Method Summary
-
Methods inherited from class org.craftercms.profile.api.exceptions.I10nProfileException
getMessage, getResourceBundle
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
KEY_BY_ID
public static final String KEY_BY_ID
- See Also:
- Constant Field Values
-
KEY_BY_QUERY
public static final String KEY_BY_QUERY
- See Also:
- Constant Field Values
-
KEY_BY_USERNAME
public static final String KEY_BY_USERNAME
- See Also:
- Constant Field Values
-
KEY_BY_TICKET
public static final String KEY_BY_TICKET
- See Also:
- Constant Field Values
-
-