Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*     */ package org.jboss.util;
 /*     */ 
 /*     */ import java.io.PrintStream;
 /*     */ import java.io.PrintWriter;
 /*     */ 
 /*     */ public abstract class AbstractNestedThrowable extends Throwable
 /*     */   implements NestedThrowable
 /*     */ {
 /*     */   protected final Throwable nested;
/*     */ 
/*     */   public AbstractNestedThrowable(String msg)
/*     */   {
/*  48 */     super(msg);
/*  49 */     this. = null;
/*     */   }
/*     */ 
/*     */   public AbstractNestedThrowable(String msgThrowable nested)
/*     */   {
/*  60 */     super(msg);
/*  61 */     this. = nested;
/*  62 */     NestedThrowable.Util.checkNested(thisnested);
/*     */   }
/*     */ 
/*     */   public AbstractNestedThrowable(Throwable nested)
/*     */   {
/*  72 */     this(nested.getMessage(), nested);
/*     */   }
/*     */ 
/*     */   public AbstractNestedThrowable()
/*     */   {
/*  80 */     this. = null;
/*     */   }
/*     */ 
/*     */   public Throwable getNested()
/*     */   {
/*  89 */     return this.;
/*     */   }
/*     */ 
/*     */   public Throwable getCause()
/*     */   {
/* 100 */     return this.;
/*     */   }
/*     */ 
/*     */   public String getMessage()
/*     */   {
/* 109 */     return NestedThrowable.Util.getMessage(super.getMessage(), this.);
/*     */   }
/*     */ 
/*     */   public void printStackTrace(PrintStream stream)
/*     */   {
/* 119 */     if ((this. == null) || (.)) {
/* 120 */       super.printStackTrace(stream);
/*     */     }
/* 122 */     NestedThrowable.Util.print(this.stream);
/*     */   }
/*     */ 
/*     */   public void printStackTrace(PrintWriter writer)
/*     */   {
/* 132 */     if ((this. == null) || (.)) {
/* 133 */       super.printStackTrace(writer);
/*     */     }
/* 135 */     NestedThrowable.Util.print(this.writer);
/*     */   }
/*     */ 
/*     */   public void printStackTrace()
/*     */   {
/* 143 */     printStackTrace(.);
/*     */   }
/*     */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
 * Qualified Name:     org.jboss.util.AbstractNestedThrowable
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X