/** * Constructs a new WagonException with the specified detail message. * The cause is not initialized, and may subsequently be initialized by a call to initCause * * @param message - the detail message (which is saved for later retrieval by the getMessage() method). * @param cause - the cause (which is saved for later retrieval by the getCause() method). * (A null value is permitted, and indicates that the cause is nonexistent or unknown.) */ public WagonException( final String message, final Throwable cause ) { super( message ); initCause( cause ); }
/** * Constructs a new WagonException with the specified detail message. * The cause is not initialized, and may subsequently be initialized by a call to initCause * * @param message - the detail message (which is saved for later retrieval by the getMessage() method). * @param cause - the cause (which is saved for later retrieval by the getCause() method). * (A null value is permitted, and indicates that the cause is nonexistent or unknown.) */ public WagonException( final String message, final Throwable cause ) { super( message ); initCause( cause ); }