Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*     */ package javassist;
 /*     */ 
 /*     */ import javassist.compiler.CompileError;
 /*     */ 
 /*     */ public class CannotCompileException extends Exception
 /*     */ {
 /*     */   private Throwable myCause;
 /*     */   private String message;
 /*     */ 
/*     */   public Throwable getCause()
/*     */   {
/*  31 */     return this. == this ? null : this.;
/*     */   }
/*     */ 
/*     */   public synchronized Throwable initCause(Throwable cause)
/*     */   {
/*  39 */     this. = cause;
/*  40 */     return this;
/*     */   }
/*     */ 
/*     */   public String getReason()
/*     */   {
/*  49 */     if (this. != null) {
/*  50 */       return this.;
/*     */     }
/*  52 */     return toString();
/*     */   }
/*     */ 
/*     */   public CannotCompileException(String msg)
/*     */   {
/*  61 */     super(msg);
/*  62 */     this. = msg;
/*  63 */     initCause(null);
/*     */   }
/*     */ 
/*     */   public CannotCompileException(Throwable e)
/*     */   {
/*  73 */     super("by " + e.toString());
/*  74 */     this. = null;
/*  75 */     initCause(e);
/*     */   }
/*     */ 
/*     */   public CannotCompileException(String msgThrowable e)
/*     */   {
/*  86 */     this(msg);
/*  87 */     initCause(e);
/*     */   }
/*     */ 
/*     */   public CannotCompileException(NotFoundException e)
/*     */   {
/*  95 */     this("cannot find " + e.getMessage(), e);
/*     */   }
/*     */ 
/*     */   public CannotCompileException(CompileError e)
/*     */   {
/* 102 */     this("[source error] " + e.getMessage(), e);
/*     */   }
/*     */ 
/*     */   public CannotCompileException(ClassNotFoundException eString name)
/*     */   {
/* 110 */     this("cannot find " + namee);
/*     */   }
/*     */ 
/*     */   public CannotCompileException(ClassFormatError eString name)
/*     */   {
/* 117 */     this("invalid class format: " + namee);
/*     */   }
/*     */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     javassist.CannotCompileException
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X