com.sapportals.wcm.repository

Class InvalidNameException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sapportals.wcm.WcmException
              extended bycom.sapportals.wcm.util.content.ContentException
                  extended bycom.sapportals.wcm.repository.ResourceException
                      extended bycom.sapportals.wcm.repository.InvalidNameException
All Implemented Interfaces:
Serializable

public class InvalidNameException
extends ResourceException

The application tried to use a invalid resource name

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
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(String msg, NameInfo ni)
          Construct a new exception.
 
Method Summary
 NameInfo getNameInfo()
          Returns a name info object of the repository
 
Methods inherited from class com.sapportals.wcm.repository.ResourceException
fillInStackTrace, getLocalizedMessage, getMessage, getNextResourceException, getResourceID, getRID, printStackTrace, printStackTrace, printStackTrace, setNextResourceException, toString
 
Methods inherited from class com.sapportals.wcm.WcmException
getContainedException, isLogged, setContainedException
 
Methods inherited from class java.lang.Throwable
getCause, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidNameException

public InvalidNameException(String msg,
                            NameInfo ni)
Construct a new exception.

Parameters:
msg - The message text
ni - 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.
Method Detail

getNameInfo

public NameInfo getNameInfo()
Returns a name info object of the repository

Returns:
a name info object of the repository


Copyright 2006 SAP AG Complete Copyright Notice