Example #1
0
 /*
  * Constructs a new <code>URIReferenceException</code> with the
  * specified detail message, cause and <code>URIReference</code>.
  * <p>Note that the detail message associated with
  * <code>cause</code> is <i>not</i> automatically incorporated in
  * this exception's detail message.
  *
  * @param message the detail message
  * @param cause the cause (A <tt>null</tt> value is permitted, and
  *	      indicates that the cause is nonexistent or unknown.)
  * @param uriReference the <code>URIReference</code> that was being
  *    dereferenced when the error was encountered
  * @throws NullPointerException if <code>uriReference</code> is
  *    <code>null</code>
  */
 public URIReferenceException(String message, java.lang.Throwable cause,
                              URIReference uriReference) :
     this(message, cause)
 {
     if (uriReference == null)
     {
         throw new java.lang.NullPointerException("uriReference cannot be null");
     }
     this.uriReference = uriReference;
 }
 /**
  * Constructs a new <code>URIReferenceException</code> with the
  * specified detail message, cause and <code>URIReference</code>.
  * <p>Note that the detail message associated with
  * <code>cause</code> is <i>not</i> automatically incorporated in
  * this exception's detail message.
  *
  * @param message the detail message
  * @param cause the cause (A <tt>null</tt> value is permitted, and
  *	      indicates that the cause is nonexistent or unknown.)
  * @param uriReference the <code>URIReference</code> that was being
  *    dereferenced when the error was encountered
  * @throws NullPointerException if <code>uriReference</code> is
  *    <code>null</code>
  */
 public URIReferenceException(String message, java.lang.Throwable cause, 
 URIReference uriReference)
     : this(message, cause)
 {
     if (uriReference == null) {
     throw new java.lang.NullPointerException("uriReference cannot be null");
     }
     this.uriReference = uriReference;
 }