Class/Object

scalut.exceptions

ExHelper

Related Docs: object ExHelper | package exceptions

Permalink

abstract class ExHelper extends AnyRef

Utils for exceptions.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExHelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExHelper()

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DEFAULT_LOGGER: String

    Permalink
  5. val ERROR_MESSAGES_RESOURCE: String

    Permalink

    Resource file of error messages.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def buildMessage(className: String, methodName: String, ex: Throwable, includeInnerException: Boolean = true, includeStackTrace: Boolean = false, userMessage: String = null, userMessageBefore: Boolean = false): String

    Permalink
  8. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def error(messageCode: String, params: Any*): Unit

    Permalink
  12. def error(errorCode: Type, messageCode: String, params: Any*): Unit

    Permalink
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getMessage(ex: Throwable, includeInnerException: Boolean = true, includeStackTrace: Boolean = false, userMessage: String = null, userMessageBefore: Boolean = false): String

    Permalink

    Returns text description of error.

  16. def getRootClassName(ex: Throwable): String

    Permalink

    Returns class name of the first element of stack trace in which the exception occurred.

  17. def getRootStackTrace(ex: Throwable): String

    Permalink

    Returns first element of stack trace.

  18. def getStackTrace(ex: Throwable, stackTraceDepth: Int = 0): String

    Permalink

    Returns stacktrace.

  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def logAndThrow(ex: Throwable, logger: String = DEFAULT_LOGGER): Unit

    Permalink
  22. def logAndThrow(ex: Throwable, logger: String, className: String): Unit

    Permalink

    Logged exception with slf4j, wrap in BaseRuntimeException if it not instance of RuntimeException and throw.

  23. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def throwEmptyCollection(col: String): Unit

    Permalink
  28. def throwIndexOutOfBounds(): Unit

    Permalink
  29. def throwNullArgument(name: String): Unit

    Permalink
  30. def throwObjectNotInCollection(name: String): Unit

    Permalink
  31. def throwPropertyNotInitialized(name: String, userMessage: String = null): Unit

    Permalink
  32. def throwResourceNotFound(bundleName: String): Unit

    Permalink
  33. def throwStringArgumentNullOrEmpty(name: String): Unit

    Permalink
  34. def throwUnknownType(typ: String): Unit

    Permalink
  35. def throwUnsupportedOperation(): Unit

    Permalink
  36. def throwValueAlreadyExist(value: Any, owner: Class[_], applicant: Class[_]): Unit

    Permalink
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped