class ErrorResource
A representation of a single error resource file.
This handles selecting the right properties from the resource bundle and formatting the error message.
actionsToFix |
val actionsToFix: String |
aliases |
val aliases: String |
shortDescription |
val shortDescription: String |
getErrorMessage |
fun getErrorMessage(args: Array<Any>): String |
fromErrorCode |
Construct an error resource from a provided code. fun fromErrorCode(errorCode: ErrorCode<*>, resourceLocation: String, locale: Locale): ErrorResource |
fromLoader |
Construct an error resource using resources loaded in a given classloader fun fromLoader(resource: String, classLoader: ClassLoader, locale: Locale): ErrorResource |