com.sapportals.wcm.repository

Class LabelAlreadyExistsException

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

public class LabelAlreadyExistsException
extends ResourceException

The application tried to add a label that already exists in the version history.

Copyright (c) SAP AG 2002

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
LabelAlreadyExistsException(String label, RID resourceID)
          Constructs a new exception
LabelAlreadyExistsException(String msg, String label, RID resourceID)
          Constructs a new exception
 
Method Summary
 String getLabel()
           
 
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

LabelAlreadyExistsException

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

Parameters:
msg - The message
resourceID - The RID of the resource that caused the exception (optional)
label - TBD: Description of the incoming method parameter

LabelAlreadyExistsException

public LabelAlreadyExistsException(String label,
                                   RID resourceID)
Constructs a new exception

Parameters:
resourceID - The RID of the resource that caused the exception (optional)
label - TBD: Description of the incoming method parameter
Method Detail

getLabel

public String getLabel()
Returns:
the affected label


Copyright 2006 SAP AG Complete Copyright Notice