exceptions
Class UserException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--exceptions.LeaException
                    |
                    +--exceptions.UserException
All Implemented Interfaces:
java.io.Serializable

public class UserException
extends LeaException

An exception throwed in case of runtime errors encountered when running or recording a LEA program. Later we should probably try to associate, in programs, specified messages explaining why specific runtime errors happen, e.g. when beacons fail.

See Also:
Serialized Form

Field Summary
 fundamentals.EuBeacon beacon
           
 interagents.EuLab failedLab
           
 interagents.finalWrapper failedSelection
           
 java.lang.String urlName
           
 
Fields inherited from class exceptions.LeaException
leaid, missingid
 
Constructor Summary
UserException(java.lang.String message)
           
UserException(java.lang.String message, java.lang.String urlName)
          The constructor.
 
Method Summary
 void appendDanish(java.lang.String danishHelp)
           
 java.lang.String DanishExplanation()
           
 void explainDanish()
           
 void prependDanish(java.lang.String danishHelp)
           
 
Methods inherited from class exceptions.LeaException
document, setLeaid, setLine, setMove, setProgram
 
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
 

Field Detail

failedLab

public interagents.EuLab failedLab

failedSelection

public interagents.finalWrapper failedSelection

urlName

public java.lang.String urlName

beacon

public fundamentals.EuBeacon beacon
Constructor Detail

UserException

public UserException(java.lang.String message,
                     java.lang.String urlName)
The constructor.

Parameters:
message - the detail message

UserException

public UserException(java.lang.String message)
Method Detail

explainDanish

public void explainDanish()

DanishExplanation

public java.lang.String DanishExplanation()

appendDanish

public void appendDanish(java.lang.String danishHelp)

prependDanish

public void prependDanish(java.lang.String danishHelp)