|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--scacchi.main.EccezioniPartita.PartitaException | +--scacchi.main.EccezioniPartita.MossaException | +--scacchi.main.EccezioniPartita.MossaNonValidaException
Eccezione causata dal fatto che una mossa non può
essere eseguita perchè non valida.
La mossa sarebbe possibile in base alle regole di movimento dei pezzi,
ma non è valida a causa di qualche vincolo non rispettato
(ad esempio, il proprio Re viene lasciato o messo sotto scacco.
EccezioniPartita.MossaException
,
Serialized FormField Summary |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
EccezioniPartita.MossaNonValidaException(ArgomentiComando.MossaTesto s,
java.lang.String err)
|
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 |
public EccezioniPartita.MossaNonValidaException(ArgomentiComando.MossaTesto s, java.lang.String err)
s
- La mossa che si cercava di eseguire.err
- Il problema specificio per cui la mossa non
è valida.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |