public enum CompressionError extends Enum<CompressionError> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<CompressionError>
error definitions for this module| Enum Constant and Description |
|---|
COULD_NOT_COMPRESS
Error occurred while trying to compress
|
COULD_NOT_DECOMPRESS
Error occurred while trying to decompress
|
INVALID_ARCHIVE
The content to be decompressed is not a valid archive
|
TOO_MANY_ENTRIES
Error that is thrown when an archive with multiple entries is passed to the decompress operation.
|
| Modifier and Type | Method and Description |
|---|---|
static CompressionError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionError INVALID_ARCHIVE
public static final CompressionError TOO_MANY_ENTRIES
public static final CompressionError COULD_NOT_DECOMPRESS
public static final CompressionError COULD_NOT_COMPRESS
public static CompressionError[] values()
for (CompressionError c : CompressionError.values()) System.out.println(c);
public static CompressionError 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 © 2021 MuleSoft, Inc.. All rights reserved.