public static class ODataWritableContent.WriteErrorContext extends Object implements ODataContentWriteErrorContext
| Constructor and Description |
|---|
WriteErrorContext(ODataLibraryException exception) |
| Modifier and Type | Method and Description |
|---|---|
Exception |
getException()
Get the exception which caused this error (as Java exception).
|
ODataLibraryException |
getODataLibraryException()
Get the exception which caused this error (as ODataLibraryException exception).
|
public WriteErrorContext(ODataLibraryException exception)
public Exception getException()
ODataContentWriteErrorContextODataContentWriteErrorContext.getODataLibraryException() method.getException in interface ODataContentWriteErrorContextpublic ODataLibraryException getODataLibraryException()
ODataContentWriteErrorContextODataContentWriteErrorContext.getException() method.
If the cause exception is NOT an ODataLibraryException this method will
return NULL.getODataLibraryException in interface ODataContentWriteErrorContextNULL.Copyright © 2023. All rights reserved.