BUG-8402: Separate out OutOfOrderRequestException
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / AbstractLocalTransactionRequest.java
index 55225a74424c6ea74b0dc0f4ae3c329efcc437c3..efc0e856b20c4d7ed8ebeb7f49dc9460bfa28767 100644 (file)
@@ -20,7 +20,7 @@ import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier
  *
  * @param <T> Message type
  */
-abstract class AbstractLocalTransactionRequest<T extends AbstractLocalTransactionRequest<T>>
+public abstract class AbstractLocalTransactionRequest<T extends AbstractLocalTransactionRequest<T>>
         extends TransactionRequest<T> {
     private static final long serialVersionUID = 1L;
 
@@ -31,7 +31,7 @@ abstract class AbstractLocalTransactionRequest<T extends AbstractLocalTransactio
 
     @Override
     protected final AbstractTransactionRequestProxy<T> externalizableProxy(final ABIVersion version) {
-        throw new UnsupportedOperationException("Local transaction request should never be serialized");
+        throw new UnsupportedOperationException("Local transaction request " + this + " should never be serialized");
     }
 
     @SuppressWarnings("unchecked")