Trait

org.gerweck.scala.util.jdbc

ThrowingWrapper

Related Doc: package jdbc

Permalink

trait ThrowingWrapper extends Wrapper

A JDBC java.sql.Wrapper. that throws an exception for all methods.

This is useful as a base class for a very limited implementation. You probably don't want to use this for a real driver, because you won't be able to easily tell what you have and haven't implemented.

Source
ThrowingWrapper.scala
Linear Supertypes
Wrapper, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThrowingWrapper
  2. Wrapper
  3. AnyRef
  4. Any
Implicitly
  1. by RichWrapper
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingWrapper to any2stringadd[ThrowingWrapper] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ThrowingWrapper, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingWrapper to ArrowAssoc[ThrowingWrapper] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (ThrowingWrapper) ⇒ Boolean, msg: ⇒ Any): ThrowingWrapper

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingWrapper to Ensuring[ThrowingWrapper] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (ThrowingWrapper) ⇒ Boolean): ThrowingWrapper

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingWrapper to Ensuring[ThrowingWrapper] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): ThrowingWrapper

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingWrapper to Ensuring[ThrowingWrapper] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): ThrowingWrapper

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingWrapper to Ensuring[ThrowingWrapper] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingWrapper to StringFormat[ThrowingWrapper] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. val inner: Wrapper

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingWrapper to RichWrapper performed by method RichWrapper in org.gerweck.scala.util.jdbc.
    Definition Classes
    RichWrapper
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isWrapperFor(clazz: Class[_]): Boolean

    Permalink
    Definition Classes
    ThrowingWrapper → Wrapper
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def unwrap[T](clazz: Class[T]): T

    Permalink
    Definition Classes
    ThrowingWrapper → Wrapper
  27. def unwrapOption[A](implicit ev: ClassTag[A]): Option[A]

    Permalink

    An extension method to make it more Scala-style to use a java.sql.Wrapper.

    An extension method to make it more Scala-style to use a java.sql.Wrapper.

    A

    the type of the target object to attempt to unwrap

    returns

    an scala.Option that will be defined if the class was a wrapper, and undefined otherwise.

    Implicit information
    This member is added by an implicit conversion from ThrowingWrapper to RichWrapper performed by method RichWrapper in org.gerweck.scala.util.jdbc.
    Definition Classes
    RichWrapper
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def [B](y: B): (ThrowingWrapper, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingWrapper to ArrowAssoc[ThrowingWrapper] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Wrapper

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion RichWrapper from ThrowingWrapper to RichWrapper

Inherited by implicit conversion any2stringadd from ThrowingWrapper to any2stringadd[ThrowingWrapper]

Inherited by implicit conversion StringFormat from ThrowingWrapper to StringFormat[ThrowingWrapper]

Inherited by implicit conversion Ensuring from ThrowingWrapper to Ensuring[ThrowingWrapper]

Inherited by implicit conversion ArrowAssoc from ThrowingWrapper to ArrowAssoc[ThrowingWrapper]

Ungrouped