Skip to content

Package io.github.qishr.cascara.common.diagnostic

Interface LocalizableException

java.lang.Object
        io.github.qishr.cascara.common.diagnostic.LocalizableException

All Known Implementing Classes:
    LocalizableIOException, LocalizableRuntimeException, AbstractLocalizableException


public interface LocalizableException

Method Summary

Modifier and Type Method Description
public abstract DiagnosticCode getCode() Returns a diagnostic error code for the error message.
public abstract Object[] getDetails() Returns the details, if any, to be used in formatting the error message.
public abstract String getLocalizedMessage() Returns a localized, formatted error message.
public abstract String getMessage() Returns a localized, formatted error message.
public abstract Throwable getCause()
public abstract String toString()
public abstract void printStackTrace()
public abstract void printStackTrace(PrintStream s)
public abstract void printStackTrace(PrintWriter s)
public abstract StackTraceElement[] getStackTrace()

Method Details

getCode

public abstract DiagnosticCode getCode()

Returns a diagnostic error code for the error message.


getDetails

public abstract Object[] getDetails()

Returns the details, if any, to be used in formatting the error message.


getLocalizedMessage

public abstract String getLocalizedMessage()

Returns a localized, formatted error message.


getMessage

public abstract String getMessage()

Returns a localized, formatted error message.


getCause

public abstract Throwable getCause()


toString

public abstract String toString()


printStackTrace

public abstract void printStackTrace()


printStackTrace

public abstract void printStackTrace(PrintStream s)


printStackTrace

public abstract void printStackTrace(PrintWriter s)


getStackTrace

public abstract StackTraceElement[] getStackTrace()