/** * PUBLIC: * Return the exception error message. * TopLink error messages are multi-line so that detail descriptions of the exception are given. */ public String getMessage() { if (getDescriptor() == null) { return super.getMessage(); } if (getMapping() != null) { return super.getMessage() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("MappingHeader") + getMapping().toString() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("DescriptorHeader") + getDescriptor().toString(); } else { return super.getMessage() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("DescriptorHeader") + getDescriptor().toString(); } }
/** * PUBLIC: * Return the exception error message. * TopLink error messages are multi-line so that detail descriptions of the exception are given. */ public String getMessage() { if (getDescriptor() == null) { return super.getMessage(); } if (getMapping() != null) { return super.getMessage() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("MappingHeader") + getMapping().toString() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("DescriptorHeader") + getDescriptor().toString(); } else { return super.getMessage() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("DescriptorHeader") + getDescriptor().toString(); } }
/** * PUBLIC: * Return the exception error message. * TopLink error messages are multi-line so that detail descriptions of the exception are given. */ public String getMessage() { if (getDescriptor() == null) { return super.getMessage(); } if (getMapping() != null) { return super.getMessage() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("MappingHeader") + getMapping().toString() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("DescriptorHeader") + getDescriptor().toString(); } else { return super.getMessage() + cr() + getIndentationString() + ExceptionMessageGenerator.getHeader("DescriptorHeader") + getDescriptor().toString(); } }