Package csw.event.api.exceptions
Class PublishFailure
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- csw.event.api.exceptions.PublishFailure
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public class PublishFailure extends java.lang.RuntimeException implements scala.Product, java.io.Serializable
An exception representing any failure while publishing an Eventparam: event The
Event
for which publishing failed param: cause Underlying cause of failure in publishing- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PublishFailure(Event event, java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1, T2 v2)
java.lang.Throwable
cause()
Event
event()
static java.lang.String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-