public class DocumentedException extends Exception
Modifier and Type | Class and Description |
---|---|
static class |
DocumentedException.ErrorSeverity |
static class |
DocumentedException.ErrorTag |
static class |
DocumentedException.ErrorType |
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_APP_TAG |
static String |
ERROR_INFO |
static String |
ERROR_MESSAGE |
static String |
ERROR_PATH |
static String |
ERROR_SEVERITY |
static String |
ERROR_TAG |
static String |
ERROR_TYPE |
static String |
RPC_ERROR |
Constructor and Description |
---|
DocumentedException(String message) |
DocumentedException(String message,
DocumentedException.ErrorType errorType,
DocumentedException.ErrorTag errorTag,
DocumentedException.ErrorSeverity errorSeverity) |
DocumentedException(String message,
DocumentedException.ErrorType errorType,
DocumentedException.ErrorTag errorTag,
DocumentedException.ErrorSeverity errorSeverity,
Map<String,String> errorInfo) |
DocumentedException(String message,
Exception cause) |
DocumentedException(String message,
Exception cause,
DocumentedException.ErrorType errorType,
DocumentedException.ErrorTag errorTag,
DocumentedException.ErrorSeverity errorSeverity) |
DocumentedException(String message,
Exception cause,
DocumentedException.ErrorType errorType,
DocumentedException.ErrorTag errorTag,
DocumentedException.ErrorSeverity errorSeverity,
Map<String,String> errorInfo) |
Modifier and Type | Method and Description |
---|---|
static DocumentedException |
fromXMLDocument(Document fromDoc) |
Map<String,String> |
getErrorInfo() |
DocumentedException.ErrorSeverity |
getErrorSeverity() |
DocumentedException.ErrorTag |
getErrorTag() |
DocumentedException.ErrorType |
getErrorType() |
String |
toString() |
Document |
toXMLDocument() |
static DocumentedException |
wrap(ConflictingVersionException e) |
static <E extends Exception> |
wrap(E exception) |
static DocumentedException |
wrap(ValidationException e) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final String RPC_ERROR
public static final String ERROR_TYPE
public static final String ERROR_TAG
public static final String ERROR_SEVERITY
public static final String ERROR_APP_TAG
public static final String ERROR_PATH
public static final String ERROR_MESSAGE
public static final String ERROR_INFO
public DocumentedException(String message)
public DocumentedException(String message, DocumentedException.ErrorType errorType, DocumentedException.ErrorTag errorTag, DocumentedException.ErrorSeverity errorSeverity)
public DocumentedException(String message, DocumentedException.ErrorType errorType, DocumentedException.ErrorTag errorTag, DocumentedException.ErrorSeverity errorSeverity, Map<String,String> errorInfo)
public DocumentedException(String message, Exception cause, DocumentedException.ErrorType errorType, DocumentedException.ErrorTag errorTag, DocumentedException.ErrorSeverity errorSeverity)
public DocumentedException(String message, Exception cause, DocumentedException.ErrorType errorType, DocumentedException.ErrorTag errorTag, DocumentedException.ErrorSeverity errorSeverity, Map<String,String> errorInfo)
public static <E extends Exception> DocumentedException wrap(E exception) throws DocumentedException
DocumentedException
public static DocumentedException wrap(ValidationException e) throws DocumentedException
DocumentedException
public static DocumentedException wrap(ConflictingVersionException e) throws DocumentedException
DocumentedException
public static DocumentedException fromXMLDocument(Document fromDoc)
public DocumentedException.ErrorType getErrorType()
public DocumentedException.ErrorTag getErrorTag()
public DocumentedException.ErrorSeverity getErrorSeverity()
public Document toXMLDocument()
Copyright © 2019 OpenDaylight. All rights reserved.