node-web-mvc
Version:
node spring mvc
19 lines (18 loc) • 727 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Exception_1 = __importDefault(require("./Exception"));
class BeanPropertyCreationException extends Exception_1.default {
constructor(definition, beanName, property, reason) {
super([
`Bean property create fail`,
'┌─────┐',
` bean: (${beanName}) ${definition.path}`,
` property: (${property}) --> ${reason}`,
'└─────┘',
].join('\n'));
}
}
exports.default = BeanPropertyCreationException;