package com.mkyong.helloworld.system.exception;

public class SystemException extends RuntimeException {
	/**
	 * SID.
	 */
	private static final long serialVersionUID = 7911381036041646154L;

	private String message;

	public SystemException(String message) {
		this.message = message;
	}

	public String getMessage() {
		return this.message;
	}

}

@@ -212,16 +212,43 @@
 ssage;%0A%0A
+%09private Throwable cause;%0A%0A
 %09public 
@@ -324,49 +324,216 @@
 ic S
-tring getMessage() %7B%0A%09%09return this.messag
+ystemException(String message, Throwable cause) %7B%0A%09%09this.message = message;%0A%09%09this.cause = cause;%0A%09%7D%0A%0A%09public String getMessage() %7B%0A%09%09return this.message;%0A%09%7D%0A%0A%09public Throwable getCause() %7B%0A%09%09return this.caus
 e;%0A%09

Add Cause to SystemException