1 13 package com.tonbeller.wcf.utils; 14 15 20 public class SoftException extends RuntimeException { 21 Throwable cause; 22 23 public SoftException(Throwable cause) { 24 super(cause.toString()); 25 this.cause = cause; 26 } 27 28 public SoftException(String message, Throwable cause) { 29 super(message); 30 this.cause = cause; 31 } 32 33 public Throwable getCause() { 34 return cause; 35 } 36 37 } 38 | Popular Tags |