Class StreamingErrorEvent
- java.lang.Object
-
- ai.vay.client.impl.streaming.events.StreamingErrorEvent
-
- All Implemented Interfaces:
ErrorEvent
,Event
public final class StreamingErrorEvent extends java.lang.Object implements ErrorEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ai.vay.client.api.events.ErrorEvent
ErrorEvent.ErrorType
-
-
Constructor Summary
Constructors Constructor Description StreamingErrorEvent(Analyser analyser, ErrorEvent.ErrorType errorType, java.lang.String errorText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Analyser
getAnalyser()
Gets anAnalyser
.java.lang.String
getErrorText()
Gets an error text.ErrorEvent.ErrorType
getErrorType()
Gets anErrorEvent.ErrorType
.
-
-
-
Constructor Detail
-
StreamingErrorEvent
public StreamingErrorEvent(Analyser analyser, ErrorEvent.ErrorType errorType, java.lang.String errorText)
-
-
Method Detail
-
getAnalyser
public Analyser getAnalyser()
Description copied from interface:Event
Gets anAnalyser
.- Specified by:
getAnalyser
in interfaceEvent
- Returns:
- an analyser instance.
-
getErrorType
public ErrorEvent.ErrorType getErrorType()
Description copied from interface:ErrorEvent
Gets anErrorEvent.ErrorType
.- Specified by:
getErrorType
in interfaceErrorEvent
- Returns:
- an error type.
-
getErrorText
public java.lang.String getErrorText()
Description copied from interface:ErrorEvent
Gets an error text.- Specified by:
getErrorText
in interfaceErrorEvent
- Returns:
- the error text.
-
-