/* * Gets the extra information message which was provided when this exception * was created. Returns {@code null} if no message was provided at creation * time. * * @return the exception message. */ public override String getMessage() { String msg = base.getMessage(); if (detail != null) { msg = msg + "; " + detail.toString(); //$NON-NLS-1$ } return(msg); }
/* * Create a new <code>FactoryConfigurationError</code> with a * given <code>Exception</code> base cause of the error. * * @param e The exception to be encapsulated in a * FactoryConfigurationError. */ public FactoryConfigurationError(java.lang.Exception e) : base(e.toString()) { this.exception = e; }