Package io.pravega.client.stream
Class TxnFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.pravega.client.stream.TxnFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class TxnFailedException extends java.lang.ExceptionA transaction has failed. Usually because of it timed out or someone calledTransaction.abort()- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TxnFailedException()Creates a new instance of TxnFailedException class.TxnFailedException(java.lang.String msg)Creates a new instance of TxnFailedException class.TxnFailedException(java.lang.String msg, java.lang.Throwable e)Creates a new instance of TxnFailedException class.TxnFailedException(java.lang.Throwable e)Creates a new instance of TxnFailedException class.
-
-
-
Constructor Detail
-
TxnFailedException
public TxnFailedException()
Creates a new instance of TxnFailedException class.
-
TxnFailedException
public TxnFailedException(java.lang.Throwable e)
Creates a new instance of TxnFailedException class.- Parameters:
e- The cause.
-
TxnFailedException
public TxnFailedException(java.lang.String msg, java.lang.Throwable e)Creates a new instance of TxnFailedException class.- Parameters:
msg- Exception description.e- The cause.
-
TxnFailedException
public TxnFailedException(java.lang.String msg)
Creates a new instance of TxnFailedException class.- Parameters:
msg- Exception description.
-
-