scacchi.main
Class EccezioniPartita.MossaException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--scacchi.main.EccezioniPartita.PartitaException
                    |
                    +--scacchi.main.EccezioniPartita.MossaException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EccezioniPartita.MossaImpossibileException, EccezioniPartita.MossaNonValidaException
Enclosing class:
EccezioniPartita

public static class EccezioniPartita.MossaException
extends EccezioniPartita.PartitaException

Eccezione causata dal fatto che una mossa non può essere eseguita.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
EccezioniPartita.MossaException(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

EccezioniPartita.MossaException

public EccezioniPartita.MossaException(ArgomentiComando.MossaTesto s,
                                       java.lang.String err)
Parameters:
s - La mossa che si cercava di eseguire.
err - Il problema che impedisce la mossa.