com.beaglebuddy.exception

## Class ParseException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.beaglebuddy.exception.ParseException

- All Implemented Interfaces:
    java.io.Serializable

      public class ParseException
      extends java.lang.RuntimeException

  Exception which occurs while parsing an mp3 file and unexpected bytes/values are found.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParseException(java.lang.String message)` constructor.
    `ParseException(java.lang.String message, byte[] data)` constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getData()` gets bytes which contained the unexpected value.

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ParseException

          public ParseException(java.lang.String message)

      constructor.
      Parameters:
        `message` - detailed message explaining the parsing error.

    - #### ParseException

          public ParseException(java.lang.String message,
                        byte[] data)

      constructor.
      Parameters:
        `message` - detailed message explaining the parsing error.
        `data` - bytes which contained the unexpected value.

  - ### Method Detail

    - #### getData

          public byte[] getData()

      gets bytes which contained the unexpected value.
      Returns:
        the bytes which contained the unexpected value.