KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thaiopensource > relaxng > parse > BuildException


1 package com.thaiopensource.relaxng.parse;
2
3 public class BuildException extends RuntimeException JavaDoc {
4   private final Throwable JavaDoc cause;
5   public BuildException(Throwable JavaDoc cause) {
6     if (cause == null)
7       throw new NullPointerException JavaDoc("null cause");
8     this.cause = cause;
9   }
10
11   public Throwable JavaDoc getCause() {
12     return cause;
13   }
14 }
15
Popular Tags