GridSim 5.0 beta

gridsim
Class ParameterException

Object
  extended by Throwable
      extended by Exception
          extended by ParameterException
All Implemented Interfaces:
Serializable

public class ParameterException
extends Exception

This exception is to report bad or invalid parameters given during constructor.

Since:
GridSim Toolkit 3.1
Author:
Gokul Poduval & Chen-Khong Tham, National University of Singapore
See Also:
Serialized Form
Invariant:
$none

Constructor Summary
ParameterException()
          Constructs a new exception with null as its detail message.
ParameterException(String message)
          Creates a new ParameterException object.
 
Method Summary
 String toString()
          Returns an error message of this object
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterException

public ParameterException()
Constructs a new exception with null as its detail message.

Pre Condition:
$none
Post Condition:
$none

ParameterException

public ParameterException(String message)
Creates a new ParameterException object.

Parameters:
message - an error message
Pre Condition:
$none
Post Condition:
$none
Method Detail

toString

public String toString()
Returns an error message of this object

Overrides:
toString in class Throwable
Returns:
an error message
Pre Condition:
$none
Post Condition:
$none

GridSim 5.0 beta

The University of Melbourne, Australia, 2009