public class ContentException extends Exception
Constructor and Description |
---|
ContentException(Exception exception)
Instantiates a new content exception.
|
ContentException(String errorCode,
String error)
Instantiates a new content exception.
|
ContentException(String errorCode,
String error,
Exception exception)
Instantiates a new content exception.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Gets the error code.
|
String |
getMessage() |
String |
getRootCause() |
void |
setErrorCode(String errorCode)
Sets the error code.
|
public ContentException(String errorCode, String error)
errorCode
- the error codeerror
- the errorpublic ContentException(Exception exception)
exception
- the exceptionpublic void setErrorCode(String errorCode)
errorCode
- the new error codepublic String getErrorCode()
public String getMessage()
getMessage
in class Throwable
public String getRootCause()
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.