SAP NetWeaver '04

com.sapportals.wcm.repository
Class ResourceException

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.framework_api.jar]
java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sapportals.wcm.WcmException
                    |
                    +--com.sapportals.wcm.util.content.ContentException
                          |
                          +--com.sapportals.wcm.repository.ResourceException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AbstractPropertyException, AccessDeniedException, AuthorizationRequiredException, CheckedOutException, DiscussionResourceTypeException, DiscussionSingleTopicExistsException, ExpectedCheckInRIDException, ExpectedCheckInURIException, ExternalLinkException, FilterConfigurationException, IncompleteOperationException, InternalLinkException, InvalidArgumentException, InvalidNameException, InvalidPositionException, InvalidTargetException, InvalidUriException, IOErrorException, LabelAlreadyExistsException, LinkLoopException, LockedException, LockNotFoundException, MethodNotAllowedException, NameAlreadyExistsException, NoContentException, NoRevisionException, NotCheckedOutException, NotOrderedException, NotSupportedException, NotVersionedException, ResourceIsLinkException, ResourceNotCollectionException, ResourceNotFoundException, ResourceReadOnlyException, RevisionResourceException, ServiceCallException, ServiceNotAvailableException, ServiceUnavailableException, SetPropertiesException, SoException, UnassignableNameException, VersionHasDescendantsException, VersionHistoryInUseException, VersionIsCheckedOutException, VirusContentException

public class ResourceException
extends ContentException

Resource Exception.

Copyright (c) SAP AG 2001-2004

See Also:
Serialized Form

Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
ResourceException()
          Constructs a new exception
ResourceException(boolean log)
          Constructs a new exception
ResourceException(java.lang.Exception ex)
          Constructs a new exception
ResourceException(java.lang.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(java.lang.String msg)
          Constructs a new exception
ResourceException(java.lang.String msg, boolean log)
          Constructs a new exception
ResourceException(java.lang.String msg, java.lang.Exception ex)
          Constructs a new exception
ResourceException(java.lang.String msg, java.lang.Exception ex, boolean log)
          Constructs a new exception
ResourceException(java.lang.String msg, RID resourceID)
          Constructs a new exception
ResourceException(java.lang.String msg, RID resourceID, boolean log)
          Constructs a new exception
ResourceException(java.lang.String msg, RID resourceID, java.lang.Exception ex)
          Constructs a new exception
ResourceException(java.lang.String msg, RID resourceID, java.lang.Exception ex, boolean log)
          Constructs a new exception
ResourceException(java.lang.String msg, URI resourceID)
          Deprecated. as of NW04.
ResourceException(java.lang.String msg, URI resourceID, boolean log)
          Deprecated. as of NW04.
ResourceException(java.lang.String msg, URI resourceID, java.lang.Exception ex)
          Deprecated. as of NW04.
ResourceException(java.lang.String msg, URI resourceID, java.lang.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
 java.lang.Throwable fillInStackTrace()
           
 java.lang.String getLocalizedMessage()
           
 java.lang.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(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 void setNextResourceException(ResourceException nextEx)
          Sets a reference to the next ResourceException
 java.lang.String toString()
           
 
Methods inherited from class com.sapportals.wcm.WcmException
getContainedException, isLogged
 
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(java.lang.String msg,
                         URI resourceID)
Deprecated. as of NW04.

Parameters:
msg -  
resourceID -  

ResourceException

public ResourceException(java.lang.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(java.lang.String msg,
                         URI resourceID,
                         boolean log)
Deprecated. as of NW04.

Parameters:
msg -  
resourceID -  
log -  

ResourceException

public ResourceException(java.lang.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(java.lang.String msg,
                         URI resourceID,
                         java.lang.Exception ex)
Deprecated. as of NW04.

Parameters:
msg -  
resourceID -  
ex -  

ResourceException

public ResourceException(java.lang.String msg,
                         RID resourceID,
                         java.lang.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(java.lang.String msg,
                         URI resourceID,
                         java.lang.Exception ex,
                         boolean log)
Deprecated. as of NW04.

Parameters:
msg -  
resourceID -  
ex -  
log -  

ResourceException

public ResourceException(java.lang.String msg,
                         RID resourceID,
                         java.lang.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(java.lang.String msg)
Constructs a new exception
Parameters:
msg - The messsage text

ResourceException

public ResourceException(java.lang.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(java.lang.String msg,
                         java.lang.Exception ex)
Constructs a new exception
Parameters:
msg - The messsage text
ex - The contained exception

ResourceException

public ResourceException(java.lang.String msg,
                         java.lang.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(java.lang.Exception ex)
Constructs a new exception
Parameters:
ex - The contained exception

ResourceException

public ResourceException(java.lang.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:
 

getRID

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

getNextResourceException

public ResourceException getNextResourceException()
Returns the next ResourceException or null
Returns:
 

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Overrides:
getLocalizedMessage in class java.lang.Throwable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace in class java.lang.Throwable

fillInStackTrace

public java.lang.Throwable fillInStackTrace()
Overrides:
fillInStackTrace in class java.lang.Throwable

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.