public static enum InvalidFileException.Reason extends Enum<InvalidFileException.Reason>
| Enum Constant and Description |
|---|
DISALLOWED_SCHEME |
INVALID_EXTENSION |
PATH_TRAVERSAL |
| Modifier and Type | Method and Description |
|---|---|
static InvalidFileException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvalidFileException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidFileException.Reason DISALLOWED_SCHEME
public static final InvalidFileException.Reason PATH_TRAVERSAL
public static final InvalidFileException.Reason INVALID_EXTENSION
public static InvalidFileException.Reason[] values()
for (InvalidFileException.Reason c : InvalidFileException.Reason.values()) System.out.println(c);
public static InvalidFileException.Reason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2026 The Apache Software Foundation. All rights reserved.