jm.music.tools

## Class QuantisationException

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

- All Implemented Interfaces:
    java.io.Serializable

      public class QuantisationException
      extends java.lang.Exception

  Thrown to indicate a problem when trying to quantise a set of values.

  By quantise, we mean to try and limit a set of values within a continuous range, to a range of discrete values. Generally this range of discrete values is a set of multiples of a quantum value.

  This exception may be thrown when a set of values within a continuous range does not fit within the discrete values. It can also be thrown if the quantum value is less than or equal to zero.

  Since:
    jMusic November 2000 Release
  See Also:
    `Phrase`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `QuantisationException()` Constructs a `QuantisationException` with no detail message.
    `QuantisationException(java.lang.String s)` Constructs a `QuantisationException` 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

    - #### QuantisationException

          public QuantisationException()

      Constructs a `QuantisationException` with no detail message. detail message.

    - #### QuantisationException

          public QuantisationException(java.lang.String s)

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