Package cern.dip

Class BadParameter

  • All Implemented Interfaces:
    java.io.Serializable

    public class BadParameter
    extends DipException
    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

      Constructors 
      Constructor Description
      BadParameter()
      Constructs a BadParameter exception.
      BadParameter​(java.lang.String msg)
      Constructs a BadParameter exception with the specified error message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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​(java.lang.String msg)
        Constructs a BadParameter exception with the specified error message.
      • BadParameter

        public BadParameter()
        Constructs a BadParameter exception.