Source: src/main/javascript/oracle/oj/ojmodel/URLError.js

Oracle® JavaScript Extension Toolkit (JET)
1.1.2

E65298-01

/**
 * Copyright (c) 2014, Oracle and/or its affiliates.
 * All rights reserved.
 */

/*jslint browser: true*/

/**
 * @constructor
 * @class oj.URLError
 * @desc Constructs a URLError, thrown when API calls are made that require a URL but no URL is defined.
 * @export
 */
oj.URLError = function() {
    this.name = "URLError";
    this.message = "No URL defined";
}
oj.URLError.prototype = new Error();
oj.URLError.constructor = oj.URLError;