public class ShouldBeRelativePath extends BasicErrorMessageFactory
File
or a
Path
is a relative path failed.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SHOULD_BE_RELATIVE_PATH |
arguments, format, formatter
Modifier | Constructor and Description |
---|---|
private |
ShouldBeRelativePath(java.io.File actual) |
private |
ShouldBeRelativePath(java.nio.file.Path actual) |
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeRelativePath(java.io.File actual)
Creates a new
. |
static ErrorMessageFactory |
shouldBeRelativePath(java.nio.file.Path actual) |
create, create, create, equals, hashCode, toString, unquotedString
public static final java.lang.String SHOULD_BE_RELATIVE_PATH
private ShouldBeRelativePath(java.io.File actual)
private ShouldBeRelativePath(java.nio.file.Path actual)
public static ErrorMessageFactory shouldBeRelativePath(java.io.File actual)
ShouldBeRelativePath
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldBeRelativePath(java.nio.file.Path actual)