|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.jfugue.JFugueException
Handles JFugue parsing exceptions.
Field Summary | |
static java.lang.String |
CONTROL_EXC
The index of the Controller command, Xindex=value, is not a valid controller. |
static java.lang.String |
CONTROL_FORMAT_EXC
The Controller command, Xindex=value, is malformed. |
static java.lang.String |
EXPECTED_BYTE
The parser expected a byte. |
static java.lang.String |
EXPECTED_DOUBLE
The parser expected a double. |
static java.lang.String |
EXPECTED_INT
The parser expected an int. |
static java.lang.String |
EXPECTED_LONG
The parser expected a long. |
static java.lang.String |
INSTRUMENT_EXC
The Instrument command, Iinstrument, is not a valid instrument. |
static java.lang.String |
NOTE_EXC
The Note command does not specify a valid percussion sound. |
static java.lang.String |
NOTE_OCTAVE_EXC
The Octave value calculated by the parser is out of range. |
static java.lang.String |
OCTAVE_EXC
The Octave specifier within the Note command is out of range. |
static java.lang.String |
PARSER_SPACES_EXC
The parser encountered spaces in a single token. |
static java.lang.String |
TEMPO_EXC
The Tempo command, Ttempo, is out of range. |
static java.lang.String |
VOICE_EXC
The Voice command, Vvoice, is out of range. |
static java.lang.String |
WORD_NOT_DEFINED_EXC
The parser cannot find a definition for the given word. |
Constructor Summary | |
JFugueException(java.lang.String exc,
java.lang.String param,
java.lang.String token)
Create a new JFugueException. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String VOICE_EXC
public static final java.lang.String TEMPO_EXC
public static final java.lang.String INSTRUMENT_EXC
public static final java.lang.String CONTROL_EXC
public static final java.lang.String NOTE_EXC
public static final java.lang.String OCTAVE_EXC
public static final java.lang.String NOTE_OCTAVE_EXC
public static final java.lang.String PARSER_SPACES_EXC
public static final java.lang.String WORD_NOT_DEFINED_EXC
public static final java.lang.String CONTROL_FORMAT_EXC
public static final java.lang.String EXPECTED_BYTE
public static final java.lang.String EXPECTED_LONG
public static final java.lang.String EXPECTED_INT
public static final java.lang.String EXPECTED_DOUBLE
Constructor Detail |
public JFugueException(java.lang.String exc, java.lang.String param, java.lang.String token)
exc
- the string representing the exception. This should contain the * character, so 'param' can be placed into the string.param
- the direct object of the exception, the thing that has had some problem with ittoken
- the token or dictionary entry in which the exception has been discovered
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |