com.sapportals.wcm.repository

Class ResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sapportals.wcm.WcmException
              extended by com.sapportals.wcm.util.content.ContentException
                  extended by com.sapportals.wcm.repository.ResourceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractPropertyException, AccessDeniedException, AclPreconditionException, AuthorizationRequiredException, CheckedOutException, DestinationNotSupportedException, DiscussionResourceTypeException, DiscussionSingleTopicExistsException, ExpectedCheckInRIDException, ExpectedCheckInURIException, ExternalLinkException, FilterConfigurationException, IncompleteOperationException, InternalLinkException, InvalidArgumentException, InvalidNameException, InvalidPositionException, InvalidTargetException, InvalidUriException, InvalidVariantContextException, IOErrorException, LabelAlreadyExistsException, LabelNotFoundException, LinkLoopException, LockedException, LockNotFoundException, MethodNotAllowedException, NameAlreadyExistsException, NoContentException, NoRevisionException, NotCheckedOutException, NotOrderedException, NotSupportedException, NotVersionedException, PhysicalResourceAlreadyExistsException, PropertiesCoder.PropertiesDecodeException, ReadOnlyModeException, ResourceIsLinkException, ResourceNotCollectionException, ResourceNotFoundException, ResourceReadOnlyException, RevisionResourceException, ServiceCallException, ServiceNotAvailableException, ServiceUnavailableException, SetPropertiesException, SoException, TimeExceededException, TuccConstraintException, UnassignableNameException, VersionHasDescendantsException, VersionHistoryInUseException, VersionIsCheckedOutException, VirusContentException

public class ResourceException
extends ContentException

Resource Exception.

Copyright (c) SAP AG 2001-2004

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
ResourceException()
          Constructs a new exception
ResourceException(boolean log)
          Constructs a new exception
ResourceException(Exception ex)
          Constructs a new exception
ResourceException(Exception ex, boolean log)
          Constructs a new exception
ResourceException(ResourceException newResourceException)
          This constructor is used by the framework to use this exception as a wrapper for a new exception class of the repository manager API.
ResourceException(RID resourceID)
          Constructs a new exception
ResourceException(RID resourceID, boolean log)
          Constructs a new exception
ResourceException(String msg)
          Constructs a new exception
ResourceException(String msg, boolean log)
          Constructs a new exception
ResourceException(String msg, Exception ex)
          Constructs a new exception
ResourceException(String msg, Exception ex, boolean log)
          Constructs a new exception
ResourceException(String msg, RID resourceID)
          Constructs a new exception
ResourceException(String msg, RID resourceID, boolean log)
          Constructs a new exception
ResourceException(String msg, RID resourceID, Exception ex)
          Constructs a new exception
ResourceException(String msg, RID resourceID, Exception ex, boolean log)
          Constructs a new exception
ResourceException(String msg, URI resourceID)
          Deprecated. as of NW04.
ResourceException(String msg, URI resourceID, boolean log)
          Deprecated. as of NW04.
ResourceException(String msg, URI resourceID, Exception ex)
          Deprecated. as of NW04.
ResourceException(String msg, URI resourceID, Exception ex, boolean log)
          Deprecated. as of NW04.
ResourceException(URI resourceID)
          Deprecated. as of NW04.
ResourceException(URI resourceID, boolean log)
          Deprecated. as of NW04.
 
Method Summary
 Throwable fillInStackTrace()
           
 String getLocalizedMessage()
           
 String getMessage()
           
 ResourceException getNextResourceException()
          Returns the next ResourceException or null
 URI getResourceID()
          Deprecated. as of NW04.
 RID getRID()
          Returns the URI of the resource that caused the exception or null .
 void printStackTrace()
           
 void printStackTrace(PrintStream s)
           
 void printStackTrace(PrintWriter s)
           
 void setNextResourceException(ResourceException nextEx)
          Sets a reference to the next ResourceException
 String 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

ResourceException

public ResourceException(ResourceException newResourceException)
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:
newResourceException - The new exception.

ResourceException

public ResourceException()
Constructs a new exception


ResourceException

public ResourceException(boolean log)
Constructs a new exception

Parameters:
log - If true the stack trace will be written to the error log.

ResourceException

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

Parameters:
resourceID -

ResourceException

public ResourceException(RID resourceID)
Constructs a new exception

Parameters:
resourceID - The ID of the resource this exception belongs to

ResourceException

public ResourceException(URI resourceID,
                         boolean log)
Deprecated. as of NW04.

Parameters:
resourceID -
log -

ResourceException

public ResourceException(RID resourceID,
                         boolean log)
Constructs a new exception

Parameters:
resourceID - The ID of the resource this exception belongs to
log - If true the stack trace will be written to the error log.

ResourceException

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

Parameters:
msg -
resourceID -

ResourceException

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

Parameters:
msg - The messsage text
resourceID - The ID of the resource this exception belongs to

ResourceException

public ResourceException(String msg,
                         URI resourceID,
                         boolean log)
Deprecated. as of NW04.

Parameters:
msg -
resourceID -
log -

ResourceException

public ResourceException(String msg,
                         RID resourceID,
                         boolean log)
Constructs a new exception

Parameters:
msg - The messsage text
resourceID - The ID of the resource this exception belongs to
log - If true the stack trace will be written to the error log.

ResourceException

public ResourceException(String msg,
                         URI resourceID,
                         Exception ex)
Deprecated. as of NW04.

Parameters:
msg -
resourceID -
ex -

ResourceException

public ResourceException(String msg,
                         RID resourceID,
                         Exception ex)
Constructs a new exception

Parameters:
msg - The messsage text
resourceID - The ID of the resource this exception belongs to
ex - The contained exception

ResourceException

public ResourceException(String msg,
                         URI resourceID,
                         Exception ex,
                         boolean log)
Deprecated. as of NW04.

Parameters:
msg -
resourceID -
ex -
log -

ResourceException

public ResourceException(String msg,
                         RID resourceID,
                         Exception ex,
                         boolean log)
Constructs a new exception

Parameters:
msg - The messsage text
resourceID - The ID of the resource this exception belongs to
ex - The contained exception
log - If true the stack trace will be written to the error log.

ResourceException

public ResourceException(String msg)
Constructs a new exception

Parameters:
msg - The messsage text

ResourceException

public ResourceException(String msg,
                         boolean log)
Constructs a new exception

Parameters:
msg - The messsage text
log - If true the stack trace will be written to the error log.

ResourceException

public ResourceException(String msg,
                         Exception ex)
Constructs a new exception

Parameters:
msg - The messsage text
ex - The contained exception

ResourceException

public ResourceException(String msg,
                         Exception ex,
                         boolean log)
Constructs a new exception

Parameters:
msg - The messsage text
ex - The contained exception
log - If true the stack trace will be written to the error log.

ResourceException

public ResourceException(Exception ex)
Constructs a new exception

Parameters:
ex - The contained exception

ResourceException

public ResourceException(Exception ex,
                         boolean log)
Constructs a new exception

Parameters:
ex - The contained exception
log - If true the stack trace will be written to the error log.
Method Detail

setNextResourceException

public void setNextResourceException(ResourceException nextEx)
Sets a reference to the next ResourceException

Parameters:
nextEx -

getResourceID

public URI getResourceID()
Deprecated. as of NW04.

Returns:
URI instance

getRID

public RID getRID()
Returns the URI of the resource that caused the exception or null .

Returns:
the URI of the resource that caused the exception, can be null

getNextResourceException

public ResourceException getNextResourceException()
Returns the next ResourceException or null

Returns:
the next ResourceException or null

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getLocalizedMessage

public String getLocalizedMessage()
Overrides:
getLocalizedMessage in class Throwable

toString

public String toString()
Overrides:
toString in class Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream s)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter s)
Overrides:
printStackTrace in class Throwable

fillInStackTrace

public Throwable fillInStackTrace()
Overrides:
fillInStackTrace in class Throwable
Access Rights

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