public class InvalidNameException extends ResourceException
| Modifier and Type | Field and Description |
|---|---|
static int |
CHARACTER_SEQUENCE_FORBIDDEN |
protected static String |
current |
static int |
EMPTY_NAME |
static int |
INVALID_NAME |
protected IResource |
res |
static int |
TOO_LONG_NAME |
static int |
TRAILING_LEADING_SPACES |
ex| Constructor and Description |
|---|
InvalidNameException(ResourceNameInvalidException newEx,
NameInfo ni)
This constructor is used by the framework to use this exception as a
wrapper for a new exception class of the repository manager API.
|
InvalidNameException(ResourceNameInvalidException newEx,
NameInfo ni,
int type,
IResource res,
String invalidString)
This constructor is used by the framework to use this exception as a
wrapper for a new exception class of the repository manager API.
|
InvalidNameException(String msg,
NameInfo ni)
Construct a new exception.
|
InvalidNameException(String msg,
NameInfo ni,
int type,
IResource res,
String invalidString)
Construct a new exception with a specific type.
|
| Modifier and Type | Method and Description |
|---|---|
protected static ResourceBundles |
getBundle() |
protected Locale |
getLocale() |
String |
getLocalizedMessage() |
NameInfo |
getNameInfo()
Returns a name info object of the repository
|
fillInStackTrace, getMessage, getNextResourceException, getResourceID, getRID, printStackTrace, printStackTrace, printStackTrace, setNextResourceException, toStringgetContainedException, isLogged, setContainedExceptionaddSuppressed, getCause, getStackTrace, getSuppressed, initCause, setStackTracepublic static final int EMPTY_NAME
public static final int TRAILING_LEADING_SPACES
public static final int INVALID_NAME
public static final int TOO_LONG_NAME
public static final int CHARACTER_SEQUENCE_FORBIDDEN
protected static final String current
protected IResource res
public InvalidNameException(String msg, NameInfo ni)
msg - The message textni - The name info object of the repositorypublic InvalidNameException(ResourceNameInvalidException newEx, NameInfo ni)
newEx - The new exception.ni - The name info object of the repository.public InvalidNameException(String msg, NameInfo ni, int type, IResource res, String invalidString)
msg - The message textni - The name info object of the repositorypublic InvalidNameException(ResourceNameInvalidException newEx, NameInfo ni, int type, IResource res, String invalidString)
newEx - The new exception.ni - The name info object of the repository.public NameInfo getNameInfo()
protected Locale getLocale()
protected static ResourceBundles getBundle()
public String getLocalizedMessage()
getLocalizedMessage in class ResourceException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice