Class ArgumentException

java.lang.Object
java.lang.Throwable
java.lang.Exception
chemaxon.common.util.ArgumentException
All Implemented Interfaces:
Serializable

@PublicApi public class ArgumentException extends Exception
Checked exception to indicate that a tool has been passed an illegal argument, typically used for CLI.
See Also:
  • Constructor Details

    • ArgumentException

      public ArgumentException()
      Creates a new instance of ArgumentException without detail message.
    • ArgumentException

      public ArgumentException(String msg)
      Constructs an instance of ArgumentException with the specified detail message.
      Parameters:
      msg - the detail message.