jm.music.tools

## Class NoteListException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - jm.music.tools.NoteListException

- All Implemented Interfaces:
    java.io.Serializable

      public class NoteListException
      extends java.lang.Exception

  Thrown by a method when a set of `Notes` does not fit its criteria. The set of Notes might be a Vector stored within a `Phrase` or a array of Notes.

  The actual problem with the Notes will be dependent on the function of the method throwing this error. For instance, a method might require that the notes must contain at least one non-rest. Another method might require only that it has a least one Note, regardless of whether its a rest or not.

  See the particular method for full details.

  Since:
    jMusic November 2000 Release
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NoteListException()` Constructs a `NoteListException` with no detail message.
    `NoteListException(java.lang.String s)` Constructs a `NoteListException` class with the specified detail message.

  - ### Method Summary

    - ### 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

    - #### NoteListException

          public NoteListException()

      Constructs a `NoteListException` with no detail message.

    - #### NoteListException

          public NoteListException(java.lang.String s)

      Constructs a `NoteListException` class with the specified detail message.
      Parameters:
        `s` - the detail message.