@qooxdoo/framework
Version:
The JS Framework for Coders
34 lines (25 loc) • 802 B
JavaScript
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2020 Christian Boulanger
License:
MIT: https://opensource.org/licenses/MIT
See the LICENSE file in the project's top-level directory for details.
Authors:
* Christian Boulanger (cboulanger)
************************************************************************ */
/**
* A class for representing a user-initiated cancellation of a request.
*/
qx.Class.define("qx.io.exception.Cancel", {
extend: qx.io.exception.Exception,
/**
* Constructor
* @param message {String}
* @param data {*|null}
*/
construct(message, data) {
super(message, qx.io.exception.Transport.CANCELLED, data);
}
});