public class IOErrors extends BaseCategory
Constructor and Description |
---|
IOErrors() |
Modifier and Type | Method and Description |
---|---|
FileLockedBuilder |
fileLocked()
Error logged when another process has locked the file and is therefore inaccessible
|
FileNotFoundBuilder |
fileNotFound()
Error logged when a given file is not found.
|
InvalidEncodingBuilder |
invalidEncoding()
Error logged when a user inputted encoding is invalid
|
InvalidFileFormatBuilder |
invalidFileFormat()
Error logged when a given file has an invalid format
|
getCategoryName
@Error(userMessage="The wanted file was not found.", technicalMessage="The wanted resource file was not found and therefore %{operation} will not run.", solution="Check whether the file exists and check the correctness of the inputted path. Input path: %{path}.", severity=FATAL) public FileNotFoundBuilder fileNotFound()
@Error(userMessage="This file is locked.", technicalMessage="This file is locked because another process is currently using it.", solution="End the process that currently uses %{fileName} and try again.", severity=FATAL) public FileLockedBuilder fileLocked()
@Error(userMessage="Inputted encoding - %{encoding} - is not valid. The default encoding UTF-8 will be used instead.", technicalMessage="Inputted encoding %{encoding} either does not exist or is not supported.", solution="Check the table of supported encodings at %{website}. If the problem persists, contact the customer support at %{website}.", severity=WARN) public InvalidEncodingBuilder invalidEncoding()
@Error(userMessage="The file format %{format} is not valid.", technicalMessage="The file extension %{format} is not supported and was not loaded.", solution="Please check that the format is supported. Allowed formats: %{allowedFormats}.", severity=ERROR) public InvalidFileFormatBuilder invalidFileFormat()
Copyright © 2020. All rights reserved.