Class BadValueException

  • All Implemented Interfaces:
    SWIG_DSAPIConstants, java.io.Serializable

    public class BadValueException
    extends DSAPIException
    A class representing an exception which can be thrown as a result of an attempt to use an attribute with an illegal value.
    See Also:
    Serialized Form
    • Constructor Detail

      • BadValueException

        public BadValueException​(java.lang.String message,
                                 int nativeErrorCode)
        Constructs a new BadValueException with the specified message and error code
        Parameters:
        message - gives extra detail about the specific exception.
        nativeErrorCode - a value as returned from underlying native code which may be useful in determining the cause of the problem.
      • BadValueException

        public BadValueException​(java.lang.String message)
        Constructs a new BadValueException with the specified message.
        Parameters:
        message - gives extra detail about the specific exception.