public final class SDKRuntimeException
extends java.lang.RuntimeException
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorCode()
Return a unique error code that identified this exception May return NULL
if this exception is aggregated from other exceptions such as I/O or
Server exceptions
|
java.lang.Throwable |
getException()
Returns the exception that underlies the SDKRuntimeException being
thrown.
|
java.lang.Object |
getReason()
return the artifact responsible for this exception
|
static boolean |
isInternalApplicationError(java.lang.Throwable throwable)
Returns true if the given Exception represents an internal SDK error;
false, otherwise.
|
boolean |
isInternalError()
Returns true if this exception represents an internal SDK error; false,
otherwise.
|
public java.lang.Throwable getException()
public java.lang.Object getReason()
public java.lang.String getErrorCode()
public boolean isInternalError()
public static boolean isInternalApplicationError(java.lang.Throwable throwable)
throwable
- The exception to be checked if it's an internal SDK error.StarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.