public class ResourceException extends ContentException
Copyright (c) SAP AG 2001-2004
ex
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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() |
getContainedException, isLogged, setContainedException
addSuppressed, getCause, getStackTrace, getSuppressed, initCause, setStackTrace
public ResourceException(ResourceException newResourceException)
newResourceException
- The new exception.public ResourceException()
public ResourceException(boolean log)
log
- If true
the stack trace will be written to the
error log.public ResourceException(URI resourceID)
resourceID
- public ResourceException(RID resourceID)
resourceID
- The ID of the resource this exception belongs topublic ResourceException(URI resourceID, boolean log)
resourceID
- log
- public ResourceException(RID resourceID, boolean log)
resourceID
- The ID of the resource this exception belongs tolog
- If true
the stack trace will be written to the
error log.public ResourceException(String msg, URI resourceID)
msg
- resourceID
- public ResourceException(String msg, RID resourceID)
msg
- The messsage textresourceID
- The ID of the resource this exception belongs topublic ResourceException(String msg, URI resourceID, boolean log)
msg
- resourceID
- log
- public ResourceException(String msg, RID resourceID, boolean log)
msg
- The messsage textresourceID
- The ID of the resource this exception belongs tolog
- If true
the stack trace will be written to the
error log.public ResourceException(String msg, URI resourceID, Exception ex)
msg
- resourceID
- ex
- public ResourceException(String msg, RID resourceID, Exception ex)
msg
- The messsage textresourceID
- The ID of the resource this exception belongs toex
- The contained exceptionpublic ResourceException(String msg, URI resourceID, Exception ex, boolean log)
msg
- resourceID
- ex
- log
- public ResourceException(String msg, RID resourceID, Exception ex, boolean log)
msg
- The messsage textresourceID
- The ID of the resource this exception belongs toex
- The contained exceptionlog
- If true
the stack trace will be written to the
error log.public ResourceException(String msg)
msg
- The messsage textpublic ResourceException(String msg, boolean log)
msg
- The messsage textlog
- If true
the stack trace will be written to the
error log.public ResourceException(String msg, Exception ex)
msg
- The messsage textex
- The contained exceptionpublic ResourceException(String msg, Exception ex, boolean log)
msg
- The messsage textex
- The contained exceptionlog
- If true
the stack trace will be written to the
error log.public ResourceException(Exception ex)
ex
- The contained exceptionpublic ResourceException(Exception ex, boolean log)
ex
- The contained exceptionlog
- If true
the stack trace will be written to the
error log.public void setNextResourceException(ResourceException nextEx)
nextEx
- the ResourceException parameterpublic URI getResourceID()
URI
instancepublic RID getRID()
null
.null
public ResourceException getNextResourceException()
null
null
public String getMessage()
getMessage
in class Throwable
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
public Throwable fillInStackTrace()
fillInStackTrace
in class Throwable
Access Rights |
---|
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 2018 SAP AG Complete Copyright Notice