ThrowableNotSerializableException

final class ThrowableNotSerializableException(val originalMessage: String, val originalClassName: String, cause: Throwable) extends IllegalArgumentException

Use as replacement for an original exception when it can't be serialized or deserialized.

Value parameters:
cause

exception that caused deserialization error, optional and will not be serialized

originalClassName

the class name of the original exception

originalMessage

the message of the original exception

Source:
ThrowableNotSerializableException.scala
class IllegalArgumentException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Value members

Constructors

def this(originalMessage: String, originalClassName: String)

Inherited methods

final def addSuppressed(x$0: Throwable): Unit
Inherited from:
Throwable
def fillInStackTrace(): Throwable
Inherited from:
Throwable
def getCause(): Throwable
Inherited from:
Throwable
def getLocalizedMessage(): String
Inherited from:
Throwable
def getMessage(): String
Inherited from:
Throwable
def getStackTrace(): Array[StackTraceElement]
Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]
Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable
Inherited from:
Throwable
def printStackTrace(x$0: PrintWriter): Unit
Inherited from:
Throwable
def printStackTrace(x$0: PrintStream): Unit
Inherited from:
Throwable
Inherited from:
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit
Inherited from:
Throwable
def toString(): String
Inherited from:
Throwable