cern.cmw
Class BadParameter

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by cern.cmw.CmwException
              extended by cern.cmw.BadParameter
All Implemented Interfaces:
Serializable

public class BadParameter
extends CmwException

Indicates that an illegal or inappropriate argument has been passed to a method.

A BadParameter exception provides a string describing the error. This is used as the Java Exception message, available via the method getMessage.

See Also:
Serialized Form

Constructor Summary
BadParameter()
          Constructs a BadParameter exception; message defaults to null.
BadParameter(String message)
          Constructs a BadParameter exception with the specified error message.
 
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

BadParameter

public BadParameter()
Constructs a BadParameter exception; message defaults to null.


BadParameter

public BadParameter(String message)
Constructs a BadParameter exception with the specified error message.



Copyright © 2007 CERN. All Rights Reserved.