cern.cmw
Class BadParameter
java.lang.Object
java.lang.Throwable
java.lang.Exception
cern.cmw.CmwException
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.