-
- All Implemented Interfaces:
-
java.io.Serializable
public final class EException extends RuntimeException
A RuntimeException wrapping E to be used where errors are represented as E but an Exception is needed
-
-
Constructor Summary
Constructors Constructor Description EException(E e)
-
Method Summary
Modifier and Type Method Description StringtoString()final Ecomponent1()final EExceptioncopy(E e)final EgetE()ThrowablegetCause()StringgetMessage()-
Methods inherited from class kotlin.Throwable
equals, hashCode -
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
EException
EException(E e)
- Parameters:
e- An E
-
-
Method Detail
-
component1
final E component1()
-
copy
final EException copy(E e)
- Parameters:
e- An E
-
getMessage
String getMessage()
-
-
-
-