public class TimeoutExpiredException extends TransactionException
Modifier and Type | Field and Description |
---|---|
boolean |
committed
True if the transaction committed before the timeout.
|
Constructor and Description |
---|
TimeoutExpiredException(AtomicSerial.GetArg arg)
AtomicSerial constructor
|
TimeoutExpiredException(boolean committed)
Constructs an instance with no detail message.
|
TimeoutExpiredException(String desc,
boolean committed)
Constructs an instance with a detail message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public final boolean committed
public TimeoutExpiredException(boolean committed)
committed
- whether the transaction committed before the timeout.public TimeoutExpiredException(String desc, boolean committed)
desc
- the detail messagecommitted
- whether the transaction committed before the timeout.public TimeoutExpiredException(AtomicSerial.GetArg arg) throws IOException
arg
- atomic deserialization parameterIOException
- if there are I/O errors while reading from GetArg's
underlying InputStream
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.