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