|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.mars_sim.msp.simulation.person.ai.mission.MissionException
public class MissionException
An exception that can be thrown by missions.
| Constructor Summary | |
|---|---|
MissionException(java.lang.String phase,
java.lang.Exception exception)
Constructor with existing exception |
|
MissionException(java.lang.String phase,
java.lang.String message)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getPhase()
Gets the mission phase that the exception happened. |
| 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 MissionException(java.lang.String phase,
java.lang.String message)
phase - the phase of the mission in which this exception is thrown (or null if none).message - the exception message.
public MissionException(java.lang.String phase,
java.lang.Exception exception)
phase - the phase of the mission in which this exception is thrown (or null if none).exception - the exception| Method Detail |
|---|
public java.lang.String getPhase()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||