org.jaudiotagger.logging
Enum ErrorMessage

java.lang.Object
  extended by java.lang.Enum<ErrorMessage>
      extended by org.jaudiotagger.logging.ErrorMessage
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ErrorMessage>

public enum ErrorMessage
extends java.lang.Enum<ErrorMessage>

Defines Error Messages


Enum Constant Summary
ARTWORK_CANNOT_BE_CREATED_WITH_THIS_METHOD
           
ARTWORK_CANNOT_BE_RETRIEVED_WITH_THIS_METHOD
           
ASF_FILE_HEADER_MISSING
           
ASF_FILE_HEADER_SIZE_DOES_NOT_MATCH_FILE_SIZE
           
ASF_HEADER_MISSING
           
FLAC_NO_FLAC_HEADER_FOUND
           
GENERAL_DELETE_FAILED
           
GENERAL_DELETE_FAILED_BECAUSE_FILE_IS_TOO_SMALL
           
GENERAL_DELETE_FAILED_FILE_LOCKED
           
GENERAL_INVALID_NULL_ARGUMENT
           
GENERAL_READ
           
GENERAL_READ_FAILED_DO_NOT_HAVE_PERMISSION_TO_READ_FILE
           
GENERAL_READ_FAILED_FILE_TOO_SMALL
           
GENERAL_READ_FAILED_UNABLE_TO_CLOSE_RANDOM_ACCESS_FILE
           
GENERAL_UNIDENITIFED_IMAGE_FORMAT
           
GENERAL_WRITE_FAILED
           
GENERAL_WRITE_FAILED_BECAUSE
           
GENERAL_WRITE_FAILED_BECAUSE_FILE_IS_TOO_SMALL
           
GENERAL_WRITE_FAILED_BECAUSE_FILE_NOT_FOUND
           
GENERAL_WRITE_FAILED_FILE_LOCKED
           
GENERAL_WRITE_FAILED_NEW_FILE_DOESNT_EXIST
           
GENERAL_WRITE_FAILED_TO_CREATE_TEMPORARY_FILE_IN_FOLDER
           
GENERAL_WRITE_FAILED_TO_DELETE_ORIGINAL_FILE
           
GENERAL_WRITE_FAILED_TO_DELETE_TEMPORARY_FILE
           
GENERAL_WRITE_FAILED_TO_MODIFY_TEMPORARY_FILE_IN_FOLDER
           
GENERAL_WRITE_FAILED_TO_OPEN_FILE_FOR_EDITING
           
GENERAL_WRITE_FAILED_TO_RENAME_ORIGINAL_BACKUP_TO_ORIGINAL
           
GENERAL_WRITE_FAILED_TO_RENAME_ORIGINAL_FILE_TO_BACKUP
           
GENERAL_WRITE_FAILED_TO_RENAME_TO_ORIGINAL_FILE
           
GENERAL_WRITE_PROBLEM_CLOSING_FILE_HANDLE
           
GENERAL_WRITE_WARNING_UNABLE_TO_DELETE_BACKUP_FILE
           
GENERIC_NOT_SUPPORTED
           
ID_TAG_SIZE
           
ID3_EXTENDED_HEADER_SIZE_INVALID
           
ID3_EXTENDED_HEADER_SIZE_TOO_SMALL
           
ID3_INVALID_OR_UNKNOWN_FLAG_SET
           
ID3_TAG_COMPRESSED
           
ID3_TAG_CRC
           
ID3_TAG_CRC_FLAG_SET_INCORRECTLY
           
ID3_TAG_CRC_SIZE
           
ID3_TAG_EXPERIMENTAL
           
ID3_TAG_EXTENDED
           
ID3_TAG_FOOTER
           
ID3_TAG_PADDING_SIZE
           
ID3_TAG_UNSYNCHRONIZED
           
MP3_FRAME_IS_COMPRESSED
           
MP3_FRAME_IS_DATA_LENGTH_INDICATOR
           
MP3_FRAME_IS_ENCRYPTED
           
MP3_FRAME_IS_GROUPED
           
MP3_FRAME_IS_UNSYNCHRONISED
           
MP3_ID3TAG_LENGTH_INCORRECT
           
MP3_PICTURE_TYPE_INVALID
           
MP3_RECALCULATED_POSSIBLE_START_OF_MP3_AUDIO
           
MP3_RECALCULATED_START_OF_MP3_AUDIO
           
MP3_REFERENCE_KEY_INVALID
           
MP3_START_OF_AUDIO_CONFIRMED
           
MP3_UNABLE_TO_ADJUST_PADDING
           
MP3_UNABLE_TO_ENCODE_URL
           
MP3_URL_SAVED_ENCODED
           
MP4_CANNOT_FIND_AUDIO
           
MP4_CHANGES_TO_FILE_FAILED
           
MP4_CHANGES_TO_FILE_FAILED_CANNOT_FIND_AUDIO
           
MP4_CHANGES_TO_FILE_FAILED_DATA_CORRUPT
           
MP4_CHANGES_TO_FILE_FAILED_INCORRECT_OFFSETS
           
MP4_CHANGES_TO_FILE_FAILED_NO_DATA
           
MP4_CHANGES_TO_FILE_FAILED_NO_TAG_DATA
           
MP4_FILE_CONTAINS_MULTIPLE_DATA_ATOMS
           
MP4_FILE_HAS_NO_METADATA
           
MP4_FILE_IS_VIDEO
           
MP4_FILE_META_ATOM_CHILD_DATA_NOT_NULL
           
MP4_FILE_NOT_AUDIO
           
MP4_FILE_NOT_CONTAINER
           
MP4_GENRE_OUT_OF_RANGE
           
MP4_IMAGE_FORMAT_IS_NOT_TO_EXPECTED_TYPE
           
MP4_REVERSE_DNS_FIELD_HAS_NO_DATA
           
MP4_UNABLE_READ_REVERSE_DNS_FIELD
           
MP4_UNABLE_TO_FIND_NEXT_ATOM_BECAUSE_IDENTIFIER_IS_INVALID
           
MP4_UNABLE_TO_FIND_NEXT_ATOM_BECAUSE_LENGTH_IS_INVALID
           
MP4_UNABLE_TO_PRIME_FILE_FOR_WRITE_SAFETLY
           
NULL_PADDING_FOUND_AT_END_OF_MP4
           
OGG_HEADER_CANNOT_BE_FOUND
           
OGG_VORBIS_NO_FRAMING_BIT
           
OGG_VORBIS_NO_SETUP_BLOCK
           
OGG_VORBIS_NO_VORBIS_HEADER_FOUND
           
VORBIS_COMMENT_LENGTH_LARGE_THAN_HEADER
           
VORBIS_COMMENT_LENGTH_TOO_LARGE
           
WMA_INVALID_FIELD_NAME
           
WMA_INVALID_GUID_USE
           
WMA_INVALID_LANGUAGE_USE
           
WMA_INVALID_STREAM_REFERNCE
           
WMA_LENGTH_OF_DATA_IS_TOO_LARGE
           
WMA_LENGTH_OF_LANGUAGE_IS_TOO_LARGE
           
WMA_LENGTH_OF_STRING_IS_TOO_LARGE
           
WMA_ONLY_STRING_IN_CD
           
 
Field Summary
(package private)  java.lang.String msg
           
 
Method Summary
 java.lang.String getMsg()
           
 java.lang.String getMsg(java.lang.Object... args)
           
static ErrorMessage valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ErrorMessage[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GENERAL_READ

public static final ErrorMessage GENERAL_READ

MP4_FILE_NOT_CONTAINER

public static final ErrorMessage MP4_FILE_NOT_CONTAINER

MP4_FILE_NOT_AUDIO

public static final ErrorMessage MP4_FILE_NOT_AUDIO

MP4_FILE_IS_VIDEO

public static final ErrorMessage MP4_FILE_IS_VIDEO

MP4_UNABLE_TO_PRIME_FILE_FOR_WRITE_SAFETLY

public static final ErrorMessage MP4_UNABLE_TO_PRIME_FILE_FOR_WRITE_SAFETLY

MP4_FILE_CONTAINS_MULTIPLE_DATA_ATOMS

public static final ErrorMessage MP4_FILE_CONTAINS_MULTIPLE_DATA_ATOMS

MP4_CHANGES_TO_FILE_FAILED

public static final ErrorMessage MP4_CHANGES_TO_FILE_FAILED

MP4_CHANGES_TO_FILE_FAILED_NO_DATA

public static final ErrorMessage MP4_CHANGES_TO_FILE_FAILED_NO_DATA

MP4_CHANGES_TO_FILE_FAILED_DATA_CORRUPT

public static final ErrorMessage MP4_CHANGES_TO_FILE_FAILED_DATA_CORRUPT

MP4_CHANGES_TO_FILE_FAILED_NO_TAG_DATA

public static final ErrorMessage MP4_CHANGES_TO_FILE_FAILED_NO_TAG_DATA

MP4_CHANGES_TO_FILE_FAILED_INCORRECT_OFFSETS

public static final ErrorMessage MP4_CHANGES_TO_FILE_FAILED_INCORRECT_OFFSETS

MP4_CHANGES_TO_FILE_FAILED_CANNOT_FIND_AUDIO

public static final ErrorMessage MP4_CHANGES_TO_FILE_FAILED_CANNOT_FIND_AUDIO

FLAC_NO_FLAC_HEADER_FOUND

public static final ErrorMessage FLAC_NO_FLAC_HEADER_FOUND

OGG_VORBIS_NO_VORBIS_HEADER_FOUND

public static final ErrorMessage OGG_VORBIS_NO_VORBIS_HEADER_FOUND

MP4_REVERSE_DNS_FIELD_HAS_NO_DATA

public static final ErrorMessage MP4_REVERSE_DNS_FIELD_HAS_NO_DATA

MP4_UNABLE_READ_REVERSE_DNS_FIELD

public static final ErrorMessage MP4_UNABLE_READ_REVERSE_DNS_FIELD

OGG_VORBIS_NO_FRAMING_BIT

public static final ErrorMessage OGG_VORBIS_NO_FRAMING_BIT

GENERAL_WRITE_FAILED

public static final ErrorMessage GENERAL_WRITE_FAILED

GENERAL_WRITE_FAILED_FILE_LOCKED

public static final ErrorMessage GENERAL_WRITE_FAILED_FILE_LOCKED

GENERAL_WRITE_FAILED_BECAUSE_FILE_IS_TOO_SMALL

public static final ErrorMessage GENERAL_WRITE_FAILED_BECAUSE_FILE_IS_TOO_SMALL

GENERAL_WRITE_FAILED_TO_DELETE_ORIGINAL_FILE

public static final ErrorMessage GENERAL_WRITE_FAILED_TO_DELETE_ORIGINAL_FILE

GENERAL_WRITE_FAILED_TO_RENAME_TO_ORIGINAL_FILE

public static final ErrorMessage GENERAL_WRITE_FAILED_TO_RENAME_TO_ORIGINAL_FILE

GENERAL_WRITE_FAILED_TO_RENAME_ORIGINAL_FILE_TO_BACKUP

public static final ErrorMessage GENERAL_WRITE_FAILED_TO_RENAME_ORIGINAL_FILE_TO_BACKUP

GENERAL_WRITE_FAILED_TO_RENAME_ORIGINAL_BACKUP_TO_ORIGINAL

public static final ErrorMessage GENERAL_WRITE_FAILED_TO_RENAME_ORIGINAL_BACKUP_TO_ORIGINAL

GENERAL_WRITE_FAILED_NEW_FILE_DOESNT_EXIST

public static final ErrorMessage GENERAL_WRITE_FAILED_NEW_FILE_DOESNT_EXIST

GENERAL_WRITE_FAILED_BECAUSE

public static final ErrorMessage GENERAL_WRITE_FAILED_BECAUSE

GENERAL_WRITE_FAILED_BECAUSE_FILE_NOT_FOUND

public static final ErrorMessage GENERAL_WRITE_FAILED_BECAUSE_FILE_NOT_FOUND

GENERAL_WRITE_WARNING_UNABLE_TO_DELETE_BACKUP_FILE

public static final ErrorMessage GENERAL_WRITE_WARNING_UNABLE_TO_DELETE_BACKUP_FILE

GENERAL_WRITE_PROBLEM_CLOSING_FILE_HANDLE

public static final ErrorMessage GENERAL_WRITE_PROBLEM_CLOSING_FILE_HANDLE

GENERAL_DELETE_FAILED

public static final ErrorMessage GENERAL_DELETE_FAILED

GENERAL_DELETE_FAILED_FILE_LOCKED

public static final ErrorMessage GENERAL_DELETE_FAILED_FILE_LOCKED

GENERAL_DELETE_FAILED_BECAUSE_FILE_IS_TOO_SMALL

public static final ErrorMessage GENERAL_DELETE_FAILED_BECAUSE_FILE_IS_TOO_SMALL

MP3_ID3TAG_LENGTH_INCORRECT

public static final ErrorMessage MP3_ID3TAG_LENGTH_INCORRECT

MP3_RECALCULATED_POSSIBLE_START_OF_MP3_AUDIO

public static final ErrorMessage MP3_RECALCULATED_POSSIBLE_START_OF_MP3_AUDIO

MP3_RECALCULATED_START_OF_MP3_AUDIO

public static final ErrorMessage MP3_RECALCULATED_START_OF_MP3_AUDIO

MP3_START_OF_AUDIO_CONFIRMED

public static final ErrorMessage MP3_START_OF_AUDIO_CONFIRMED

MP3_URL_SAVED_ENCODED

public static final ErrorMessage MP3_URL_SAVED_ENCODED

MP3_UNABLE_TO_ENCODE_URL

public static final ErrorMessage MP3_UNABLE_TO_ENCODE_URL

MP4_UNABLE_TO_FIND_NEXT_ATOM_BECAUSE_IDENTIFIER_IS_INVALID

public static final ErrorMessage MP4_UNABLE_TO_FIND_NEXT_ATOM_BECAUSE_IDENTIFIER_IS_INVALID

MP4_UNABLE_TO_FIND_NEXT_ATOM_BECAUSE_LENGTH_IS_INVALID

public static final ErrorMessage MP4_UNABLE_TO_FIND_NEXT_ATOM_BECAUSE_LENGTH_IS_INVALID

GENERAL_INVALID_NULL_ARGUMENT

public static final ErrorMessage GENERAL_INVALID_NULL_ARGUMENT

MP4_GENRE_OUT_OF_RANGE

public static final ErrorMessage MP4_GENRE_OUT_OF_RANGE

MP3_PICTURE_TYPE_INVALID

public static final ErrorMessage MP3_PICTURE_TYPE_INVALID

MP3_REFERENCE_KEY_INVALID

public static final ErrorMessage MP3_REFERENCE_KEY_INVALID

MP3_UNABLE_TO_ADJUST_PADDING

public static final ErrorMessage MP3_UNABLE_TO_ADJUST_PADDING

GENERAL_WRITE_FAILED_TO_DELETE_TEMPORARY_FILE

public static final ErrorMessage GENERAL_WRITE_FAILED_TO_DELETE_TEMPORARY_FILE

GENERAL_WRITE_FAILED_TO_CREATE_TEMPORARY_FILE_IN_FOLDER

public static final ErrorMessage GENERAL_WRITE_FAILED_TO_CREATE_TEMPORARY_FILE_IN_FOLDER

GENERAL_WRITE_FAILED_TO_MODIFY_TEMPORARY_FILE_IN_FOLDER

public static final ErrorMessage GENERAL_WRITE_FAILED_TO_MODIFY_TEMPORARY_FILE_IN_FOLDER

GENERAL_WRITE_FAILED_TO_OPEN_FILE_FOR_EDITING

public static final ErrorMessage GENERAL_WRITE_FAILED_TO_OPEN_FILE_FOR_EDITING

NULL_PADDING_FOUND_AT_END_OF_MP4

public static final ErrorMessage NULL_PADDING_FOUND_AT_END_OF_MP4

OGG_VORBIS_NO_SETUP_BLOCK

public static final ErrorMessage OGG_VORBIS_NO_SETUP_BLOCK

OGG_HEADER_CANNOT_BE_FOUND

public static final ErrorMessage OGG_HEADER_CANNOT_BE_FOUND

GENERAL_READ_FAILED_UNABLE_TO_CLOSE_RANDOM_ACCESS_FILE

public static final ErrorMessage GENERAL_READ_FAILED_UNABLE_TO_CLOSE_RANDOM_ACCESS_FILE

GENERAL_READ_FAILED_FILE_TOO_SMALL

public static final ErrorMessage GENERAL_READ_FAILED_FILE_TOO_SMALL

GENERAL_READ_FAILED_DO_NOT_HAVE_PERMISSION_TO_READ_FILE

public static final ErrorMessage GENERAL_READ_FAILED_DO_NOT_HAVE_PERMISSION_TO_READ_FILE

ASF_FILE_HEADER_SIZE_DOES_NOT_MATCH_FILE_SIZE

public static final ErrorMessage ASF_FILE_HEADER_SIZE_DOES_NOT_MATCH_FILE_SIZE

ASF_FILE_HEADER_MISSING

public static final ErrorMessage ASF_FILE_HEADER_MISSING

ASF_HEADER_MISSING

public static final ErrorMessage ASF_HEADER_MISSING

GENERAL_UNIDENITIFED_IMAGE_FORMAT

public static final ErrorMessage GENERAL_UNIDENITIFED_IMAGE_FORMAT

MP4_IMAGE_FORMAT_IS_NOT_TO_EXPECTED_TYPE

public static final ErrorMessage MP4_IMAGE_FORMAT_IS_NOT_TO_EXPECTED_TYPE

MP3_FRAME_IS_COMPRESSED

public static final ErrorMessage MP3_FRAME_IS_COMPRESSED

MP3_FRAME_IS_ENCRYPTED

public static final ErrorMessage MP3_FRAME_IS_ENCRYPTED

MP3_FRAME_IS_GROUPED

public static final ErrorMessage MP3_FRAME_IS_GROUPED

MP3_FRAME_IS_UNSYNCHRONISED

public static final ErrorMessage MP3_FRAME_IS_UNSYNCHRONISED

MP3_FRAME_IS_DATA_LENGTH_INDICATOR

public static final ErrorMessage MP3_FRAME_IS_DATA_LENGTH_INDICATOR

MP4_FILE_HAS_NO_METADATA

public static final ErrorMessage MP4_FILE_HAS_NO_METADATA

MP4_FILE_META_ATOM_CHILD_DATA_NOT_NULL

public static final ErrorMessage MP4_FILE_META_ATOM_CHILD_DATA_NOT_NULL

WMA_INVALID_FIELD_NAME

public static final ErrorMessage WMA_INVALID_FIELD_NAME

WMA_INVALID_LANGUAGE_USE

public static final ErrorMessage WMA_INVALID_LANGUAGE_USE

WMA_INVALID_STREAM_REFERNCE

public static final ErrorMessage WMA_INVALID_STREAM_REFERNCE

WMA_INVALID_GUID_USE

public static final ErrorMessage WMA_INVALID_GUID_USE

WMA_LENGTH_OF_DATA_IS_TOO_LARGE

public static final ErrorMessage WMA_LENGTH_OF_DATA_IS_TOO_LARGE

WMA_LENGTH_OF_LANGUAGE_IS_TOO_LARGE

public static final ErrorMessage WMA_LENGTH_OF_LANGUAGE_IS_TOO_LARGE

WMA_LENGTH_OF_STRING_IS_TOO_LARGE

public static final ErrorMessage WMA_LENGTH_OF_STRING_IS_TOO_LARGE

WMA_ONLY_STRING_IN_CD

public static final ErrorMessage WMA_ONLY_STRING_IN_CD

ID3_EXTENDED_HEADER_SIZE_INVALID

public static final ErrorMessage ID3_EXTENDED_HEADER_SIZE_INVALID

ID3_EXTENDED_HEADER_SIZE_TOO_SMALL

public static final ErrorMessage ID3_EXTENDED_HEADER_SIZE_TOO_SMALL

ID3_INVALID_OR_UNKNOWN_FLAG_SET

public static final ErrorMessage ID3_INVALID_OR_UNKNOWN_FLAG_SET

ID3_TAG_UNSYNCHRONIZED

public static final ErrorMessage ID3_TAG_UNSYNCHRONIZED

ID3_TAG_EXPERIMENTAL

public static final ErrorMessage ID3_TAG_EXPERIMENTAL

ID3_TAG_FOOTER

public static final ErrorMessage ID3_TAG_FOOTER

ID3_TAG_EXTENDED

public static final ErrorMessage ID3_TAG_EXTENDED

ID3_TAG_CRC

public static final ErrorMessage ID3_TAG_CRC

ID3_TAG_COMPRESSED

public static final ErrorMessage ID3_TAG_COMPRESSED

ID3_TAG_CRC_SIZE

public static final ErrorMessage ID3_TAG_CRC_SIZE

ID3_TAG_PADDING_SIZE

public static final ErrorMessage ID3_TAG_PADDING_SIZE

ID_TAG_SIZE

public static final ErrorMessage ID_TAG_SIZE

ID3_TAG_CRC_FLAG_SET_INCORRECTLY

public static final ErrorMessage ID3_TAG_CRC_FLAG_SET_INCORRECTLY

MP4_CANNOT_FIND_AUDIO

public static final ErrorMessage MP4_CANNOT_FIND_AUDIO

VORBIS_COMMENT_LENGTH_TOO_LARGE

public static final ErrorMessage VORBIS_COMMENT_LENGTH_TOO_LARGE

VORBIS_COMMENT_LENGTH_LARGE_THAN_HEADER

public static final ErrorMessage VORBIS_COMMENT_LENGTH_LARGE_THAN_HEADER

ARTWORK_CANNOT_BE_CREATED_WITH_THIS_METHOD

public static final ErrorMessage ARTWORK_CANNOT_BE_CREATED_WITH_THIS_METHOD

ARTWORK_CANNOT_BE_RETRIEVED_WITH_THIS_METHOD

public static final ErrorMessage ARTWORK_CANNOT_BE_RETRIEVED_WITH_THIS_METHOD

GENERIC_NOT_SUPPORTED

public static final ErrorMessage GENERIC_NOT_SUPPORTED
Field Detail

msg

java.lang.String msg
Method Detail

values

public static ErrorMessage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ErrorMessage c : ErrorMessage.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ErrorMessage valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getMsg

public java.lang.String getMsg()

getMsg

public java.lang.String getMsg(java.lang.Object... args)