uk.co.agena.minerva.model.scenario
Class ScenarioException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.co.agena.minerva.model.scenario.ScenarioException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ObservationNotDirectException, ObservationNotFoundException, ObservationNotInitialisedException, ScenarioNotFoundException

public class ScenarioException
extends java.lang.Exception

Thrown whenever there is a general problem with Scenario. It is the superclass for all specific Scenario-related Exceptions.

See Also:
Serialized Form

Constructor Summary
ScenarioException()
          Constructs an empty ScenarioException.
ScenarioException(java.lang.String msg)
          Constructs an ScenarioException with the specified message.
ScenarioException(java.lang.String msg, java.lang.Throwable throwable)
          Constructs an ScenarioException with the specified cause and message.
ScenarioException(java.lang.Throwable throwable)
          Constructs an ScenarioException with the specified cause.
 
Method Summary
 
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

ScenarioException

public ScenarioException()
Constructs an empty ScenarioException.


ScenarioException

public ScenarioException(java.lang.String msg)
Constructs an ScenarioException with the specified message.

Parameters:
msg - the message

ScenarioException

public ScenarioException(java.lang.Throwable throwable)
Constructs an ScenarioException with the specified cause.

Parameters:
throwable - the Throwable that caused this Exception

ScenarioException

public ScenarioException(java.lang.String msg,
                         java.lang.Throwable throwable)
Constructs an ScenarioException with the specified cause and message.

Parameters:
throwable - the Throwable that caused this Exception
msg - the detail message


Copyright © 2006 Agena Ltd. All Rights Reserved.