com.sapportals.wcm.repository
Class InvalidNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sapportals.wcm.WcmException
com.sapportals.wcm.util.content.ContentException
com.sapportals.wcm.repository.ResourceException
com.sapportals.wcm.repository.InvalidNameException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ExtensionDeniedException, InvalidCharacterException, NoExtensionDeniedException
public class InvalidNameException
- extends ResourceException
The application tried to use a invalid resource name
- See Also:
- Serialized Form
|
Constructor Summary |
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. |
EMPTY_NAME
public static final int EMPTY_NAME
- See Also:
- Constant Field Values
TRAILING_LEADING_SPACES
public static final int TRAILING_LEADING_SPACES
- See Also:
- Constant Field Values
INVALID_NAME
public static final int INVALID_NAME
- See Also:
- Constant Field Values
TOO_LONG_NAME
public static final int TOO_LONG_NAME
- See Also:
- Constant Field Values
CHARACTER_SEQUENCE_FORBIDDEN
public static final int CHARACTER_SEQUENCE_FORBIDDEN
- See Also:
- Constant Field Values
current
protected static final String current
- See Also:
- Constant Field Values
res
protected IResource res
InvalidNameException
public InvalidNameException(String msg,
NameInfo ni)
- Construct a new exception.
- Parameters:
msg - The message textni - The name info object of the repository
InvalidNameException
public 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.
- Parameters:
newEx - The new exception.ni - The name info object of the repository.
InvalidNameException
public InvalidNameException(String msg,
NameInfo ni,
int type,
IResource res,
String invalidString)
- Construct a new exception with a specific type. It can be used by the UI to show friendly messages
- Parameters:
msg - The message textni - The name info object of the repository
InvalidNameException
public 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.
Construct a new exception with a specific type. It can be used by the UI to show friendly messages
- Parameters:
newEx - The new exception.ni - The name info object of the repository.
getNameInfo
public NameInfo getNameInfo()
- Returns a name info object of the repository
- Returns:
- a name info object of the repository
getLocale
protected Locale getLocale()
getBundle
protected static ResourceBundles getBundle()
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage in class ResourceException
This class can be accessed from:
|
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 2014 SAP AG Complete Copyright Notice