com.sapportals.wcm.repository

Class NameAlreadyExistsException

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.NameAlreadyExistsException
All Implemented Interfaces:
Serializable

public class NameAlreadyExistsException
extends ResourceException

The application tried to use a name for a new resource that already exists in the collection.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
NameAlreadyExistsException(ResourceNameAlreadyAssignedException newEx)
          This constructor is used by the framework to use this exception as a wrapper for a new exception class of the repository manager API.
NameAlreadyExistsException(RID resourceID)
          Constructs a new exception
NameAlreadyExistsException(String msg, RID resourceID)
          Constructs a new exception
NameAlreadyExistsException(String msg, URI resourceID)
          Deprecated. as of NW04.
NameAlreadyExistsException(URI resourceID)
          Deprecated. as of NW04.
 
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

NameAlreadyExistsException

public NameAlreadyExistsException(String msg,
                                  URI resourceID)
Deprecated. as of NW04.

Parameters:
msg -
resourceID -

NameAlreadyExistsException

public NameAlreadyExistsException(URI resourceID)
Deprecated. as of NW04.

Parameters:
resourceID -

NameAlreadyExistsException

public NameAlreadyExistsException(String msg,
                                  RID resourceID)
Constructs a new exception

Parameters:
msg - The message
resourceID - The URI of the resource that caused the exception (optional)

NameAlreadyExistsException

public NameAlreadyExistsException(RID resourceID)
Constructs a new exception

Parameters:
resourceID - The URI of the resource that caused the exception (optional)

NameAlreadyExistsException

public NameAlreadyExistsException(ResourceNameAlreadyAssignedException newEx)
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.


Copyright 2006 SAP AG Complete Copyright Notice