errors.properties

来自「These are the examples from the book Jav」· PROPERTIES 代码 · 共 23 行

PROPERTIES
23
字号
## This is the file Errors.properties# One property for each class of exceptions that our program might# report.  Note the use of backslashes to continue long lines onto the# next.  Also note the use of \n and \t for newlines and tabs#java.io.FileNotFoundException: \Error: File "{0}" not found\n\t\Error occurred at line {3} of file "{2}"\n\tat {4}java.io.UnsupportedEncodingException: \Error: Specified encoding not supported\n\t\Error occurred at line {3} of file "{2}"\n\tat {4,time} on {4,date}java.io.CharConversionException:\Error: Character conversion failure.  Input data is not in specified format.# A generic resource.  Display a message for any error or exception that# is not handled by a more specific resource.java.lang.Throwable:\Error: {1}: {0}\n\t\Error occurred at line {3} of file "{2}"\n\t{4,time,long} {4,date,long}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?