Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jm.music.tools
Class NoteListException  view NoteListException download NoteListException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjm.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
Version:
1.0,Sun Feb 25 18:43:34 2001

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
NoteListException()
          Constructs a NoteListException with no detail message.
NoteListException(java.lang.String s)
          Constructs a NoteListException class with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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.