Package io.github.qishr.cascara.common.diagnostic
Class LocalizableIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.github.qishr.cascara.common.diagnostic.LocalizableIOException
All Implemented Interfaces:
LocalizableException
public class LocalizableIOException
extends IOException
Constructor Summary
| Constructor | Description |
|---|---|
| LocalizableIOException(DiagnosticCode code, Object[] details) | |
| LocalizableIOException(Throwable cause, DiagnosticCode code, Object[] details) |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public DiagnosticCode | getCode() | Returns a diagnostic error code for the error message. |
| public Object[] | getDetails() | Returns the details, if any, to be used in formatting the error message. |
| public String | getLocalizedMessage() | Returns a localized, formatted error message. |
| public String | getMessage() | Returns a localized, formatted error message. |
Method Details
getCode
public DiagnosticCode getCode()
Returns a diagnostic error code for the error message.
Specified By:
getDetails
public Object[] getDetails()
Returns the details, if any, to be used in formatting the error message.
Specified By:
getLocalizedMessage
public String getLocalizedMessage()
Returns a localized, formatted error message.
Specified By:
Overrides:
getMessage
public String getMessage()
Returns a localized, formatted error message.
Specified By:
Overrides: