/** * Return true if this ServiceException matches the specified * {@link ErrorContent} in domain name and code name. Sibling exceptions are * not checked. */ public boolean matches(ErrorContent code) { return getDomainName().equals(code.getDomainName()) && getCodeName().equals(code.getCodeName()); }
/** * Return true if this ServiceException matches the specified * {@link ErrorContent} in domain name and code name. Sibling exceptions are * not checked. */ public boolean matches(ErrorContent code) { return getDomainName().equals(code.getDomainName()) && getCodeName().equals(code.getCodeName()); }
/** * Return true if this ServiceException matches the specified * {@link ErrorContent} in domain name and code name. Sibling exceptions are * not checked. */ public boolean matches(ErrorContent code) { return getDomainName().equals(code.getDomainName()) && getCodeName().equals(code.getCodeName()); }
/** * Construct a new error info as a copy of the given error element. */ ErrorElement(ErrorContent source) { this.errorDomainName = source.getDomainName(); this.errorCodeName = source.getCodeName(); this.errorLocation = source.getLocation(); this.errorLocationType = source.getLocationType(); this.errorInternalReason = source.getInternalReason(); this.errorExtendedHelp = source.getExtendedHelp(); this.errorSendReport = source.getSendReport(); this.errorDebugInfo = source.getDebugInfo(); }
/** * Construct a new error info as a copy of the given error element. */ ErrorElement(ErrorContent source) { this.errorDomainName = source.getDomainName(); this.errorCodeName = source.getCodeName(); this.errorLocation = source.getLocation(); this.errorLocationType = source.getLocationType(); this.errorInternalReason = source.getInternalReason(); this.errorExtendedHelp = source.getExtendedHelp(); this.errorSendReport = source.getSendReport(); this.errorDebugInfo = source.getDebugInfo(); }
/** * Construct a new error info as a copy of the given error element. */ ErrorElement(ErrorContent source) { this.errorDomainName = source.getDomainName(); this.errorCodeName = source.getCodeName(); this.errorLocation = source.getLocation(); this.errorLocationType = source.getLocationType(); this.errorInternalReason = source.getInternalReason(); this.errorExtendedHelp = source.getExtendedHelp(); this.errorSendReport = source.getSendReport(); this.errorDebugInfo = source.getDebugInfo(); }