org.rogach.scallop.exceptions

WrongOptionFormat

case class WrongOptionFormat(optionName: String, args: String) extends ScallopException with Product with Serializable

Thrown when arguments to some option do not satisfy that option's value converter (it returns Left in such case).

Source
Exceptions.scala
Linear Supertypes
Serializable, Product, Equals, ScallopException, ScallopResult, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. WrongOptionFormat
  2. Serializable
  3. Product
  4. Equals
  5. ScallopException
  6. ScallopResult
  7. Exception
  8. Throwable
  9. Serializable
  10. AnyRef
  11. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WrongOptionFormat(optionName: String, args: String)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val args: String

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def canEqual(arg0: Any): Boolean

    Definition Classes
    WrongOptionFormat → Equals
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    WrongOptionFormat → Equals → AnyRef → Any
  12. def fillInStackTrace(): Throwable

    Definition Classes
    Throwable
  13. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def getCause(): Throwable

    Definition Classes
    Throwable
  15. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  16. def getLocalizedMessage(): String

    Definition Classes
    Throwable
  17. def getMessage(): String

    Definition Classes
    Throwable
  18. def getStackTrace(): Array[StackTraceElement]

    Definition Classes
    Throwable
  19. def hashCode(): Int

    Definition Classes
    WrongOptionFormat → AnyRef → Any
  20. def initCause(arg0: Throwable): Throwable

    Definition Classes
    Throwable
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. val message: String

    Definition Classes
    ScallopException
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. val optionName: String

  27. def printStackTrace(arg0: PrintWriter): Unit

    Definition Classes
    Throwable
  28. def printStackTrace(arg0: PrintStream): Unit

    Definition Classes
    Throwable
  29. def printStackTrace(): Unit

    Definition Classes
    Throwable
  30. def productArity: Int

    Definition Classes
    WrongOptionFormat → Product
  31. def productElement(arg0: Int): Any

    Definition Classes
    WrongOptionFormat → Product
  32. def productIterator: Iterator[Any]

    Definition Classes
    Product
  33. def productPrefix: String

    Definition Classes
    WrongOptionFormat → Product
  34. def setStackTrace(arg0: Array[StackTraceElement]): Unit

    Definition Classes
    Throwable
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    Throwable → AnyRef → Any
  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ScallopException

Inherited from ScallopResult

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any