GridSim
v3.3

gridsim
Class ParameterException

Object
  extended byThrowable
      extended byException
          extended bygridsim.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

Field Summary
 
Fields inherited from class Exception
 
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

Returns:
an error message
Pre Condition:
$none
Post Condition:
$none

GridSim
v3.3

The University of Melbourne, Australia, 2005