1 16 package org.apache.commons.net.ftp.parser; 17 18 23 public class ParserInitializationException extends RuntimeException { 24 25 28 private final Throwable rootCause; 29 30 35 public ParserInitializationException(String message) { 36 super(message); 37 this.rootCause = null; 38 } 39 40 48 public ParserInitializationException(String message, Throwable rootCause) { 49 super(message); 50 this.rootCause = rootCause; 51 } 52 53 59 public Throwable getRootCause() { 60 return this.rootCause; 61 } 62 63 } 64 | Popular Tags |