public class InvalidTargetException extends ResourceException
Constructor and Description |
---|
InvalidTargetException(IRid rid,
IRid invalidTarget)
Constructs a new exception.
|
InvalidTargetException(IRid rid,
IRid invalidTarget,
boolean logExceptionOnCreation)
Constructs a new exception.
|
InvalidTargetException(IRid rid,
IRid invalidTarget,
String message,
Throwable rootCause)
Constructs a new exception.
|
InvalidTargetException(IRid rid,
IRid invalidTarget,
String message,
Throwable rootCause,
boolean logExceptionOnCreation)
Constructs a new exception.
|
InvalidTargetException(IRid rid,
String message,
Object[] args,
Throwable rootCause,
boolean logExceptionOnCreation,
IRid invalidTarget)
Constructs a new exception.
|
Modifier and Type | Method and Description |
---|---|
IRid |
getInvalidTargetRid()
Returns the invalid target that caused the exception.
|
getRID
finallyLocalize, finallyLocalize, finallyLocalize, finallyLocalize, getCause, getLocalizableMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLogCategory, getLogLocation, getLogSeverity, getMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedStackTraceString, getStackTraceString, getSystemStackTraceString, initCause, log, printStackTrace, printStackTrace, printStackTrace, restoreLogSettings, setLogSettings, trace, trace
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, setStackTrace, toString
public InvalidTargetException(IRid rid, IRid invalidTarget)
rid
- The identifier of the resource this exception belongs to.invalidTarget
- The invalid identifier that was supplied by the
client.public InvalidTargetException(IRid rid, IRid invalidTarget, boolean logExceptionOnCreation)
rid
- The identifier of the resource this exception belongs to.invalidTarget
- The invalid identifier that was supplied by the
client.logExceptionOnCreation
- when true log the exception now during its
constructionpublic InvalidTargetException(IRid rid, IRid invalidTarget, String message, Throwable rootCause)
rid
- resource id of the resource this exception is associated with
(if any)invalidTarget
- The invalid identifier that was supplied by the
client.message
- not localized messagerootCause
- throwable object which caused this exceptionpublic InvalidTargetException(IRid rid, IRid invalidTarget, String message, Throwable rootCause, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)invalidTarget
- The invalid identifier that was supplied by the
client.message
- not localized messagerootCause
- throwable object which caused this exceptionlogExceptionOnCreation
- when true log the exception now during its
constructionpublic InvalidTargetException(IRid rid, String message, Object[] args, Throwable rootCause, boolean logExceptionOnCreation, IRid invalidTarget)
rid
- The identifier of the resource this exception belongs to.message
- The exception message text (not localized).args
- Exception arguments, can be null
.rootCause
- Throwable which caused this exception, can be null
.logExceptionOnCreation
- true: Message and stacktrace is logged.invalidTarget
- The invalid identifier that was supplied by the
client.public IRid getInvalidTargetRid()
null
.null
.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