com.vmware.transport.bus.store.model.BusStoreError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of transport Show documentation
Show all versions of transport Show documentation
Transport is a full stack, simple, fast, expandable application event bus for your applications. It provides a standardized and simple API, implemented in multiple languages, to allow any individual component inside your applications to talk to one another. This is the Java implementation of the Transport library.
The newest version!
/*
* Copyright 2019-2020 VMware, Inc.
* SPDX-License-Identifier: BSD-2-Clause
*
*/
package com.vmware.transport.bus.store.model;
public class BusStoreError {
/**
* Optional name of the store this error is related to.
*/
public String storeName;
/**
* Optional id of the store item this error is related to.
*/
public Object itemId;
/**
* The error message.
*/
public String errorMsg;
public BusStoreError(String errorMsg) {
this(errorMsg, null);
}
public BusStoreError(String errorMsg, String storeName) {
this(errorMsg, storeName, null);
}
public BusStoreError(String errorMsg, String storeName, Object itemId) {
this.storeName = storeName;
this.errorMsg = errorMsg;
this.itemId = itemId;
}
}