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()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DEFAULT_LOGGER: String
  5. val ERROR_MESSAGES_RESOURCE: String

    Resource file of error messages.

  6. final def asInstanceOf[T0]: T0
    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
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def error(messageCode: String, params: Any*): Unit
  12. def error(errorCode: Type, messageCode: String, params: Any*): Unit
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def getMessage(ex: Throwable, includeInnerException: Boolean = true, includeStackTrace: Boolean = false, userMessage: String = null, userMessageBefore: Boolean = false): String

    Returns text description of error.

  16. def getRootClassName(ex: Throwable): String

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

  17. def getRootStackTrace(ex: Throwable): String

    Returns first element of stack trace.

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

    Returns stacktrace.

  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def logAndThrow(ex: Throwable, logger: String = DEFAULT_LOGGER): Unit
  22. def logAndThrow(ex: Throwable, logger: String, className: String): Unit

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

  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. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def throwEmptyCollection(col: String): Unit
  28. def throwIndexOutOfBounds(): Unit
  29. def throwNullArgument(name: String): Unit
  30. def throwObjectNotInCollection(name: String): Unit
  31. def throwPropertyNotInitialized(name: String, userMessage: String = null): Unit
  32. def throwResourceNotFound(bundleName: String): Unit
  33. def throwStringArgumentNullOrEmpty(name: String): Unit
  34. def throwUnknownType(typ: String): Unit
  35. def throwUnsupportedOperation(): Unit
  36. def throwValueAlreadyExist(value: Any, owner: Class[_], applicant: Class[_]): Unit
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped