1 11 package org.eclipse.core.commands.common; 12 13 21 public abstract class CommandException extends Exception { 22 23 27 private Throwable cause; 28 29 35 public CommandException(final String message) { 36 super(message); 37 } 38 39 48 public CommandException(final String message, final Throwable cause) { 49 super(message); 50 this.cause = cause; 52 } 53 54 60 public Throwable getCause() { 61 return cause; 62 } 63 64 } 65 | Popular Tags |