1 13 package info.magnolia.exchange; 14 15 import org.apache.commons.lang.StringUtils; 16 17 import info.magnolia.cms.core.BaseException; 18 19 20 23 public class ExchangeException extends BaseException { 24 25 28 private static final long serialVersionUID = 222L; 29 30 public ExchangeException() { 31 super(StringUtils.EMPTY); 32 } 33 34 public ExchangeException(String message) { 35 super(message); 36 } 37 38 public ExchangeException(String message, Exception cause) { 39 super(message, (cause instanceof ExchangeException) ? ((ExchangeException) cause).getCause() : cause); 40 } 41 42 public ExchangeException(Exception root) { 43 super(root); 44 } 45 } 46 | Popular Tags |