1 46 package org.codehaus.groovy; 47 48 public class GroovyException extends Exception implements GroovyExceptionInterface { 49 private boolean fatal = true; 50 51 public GroovyException() { 52 } 53 54 public GroovyException(String message) { 55 super(message); 56 } 57 58 public GroovyException( boolean fatal ) 59 { 60 super(); 61 this.fatal = fatal; 62 } 63 64 public GroovyException( String message, boolean fatal ) 65 { 66 super( message ); 67 this.fatal = fatal; 68 } 69 70 public boolean isFatal() 71 { 72 return fatal; 73 } 74 75 public void setFatal( boolean fatal ) 76 { 77 this.fatal = fatal; 78 } 79 } 80 | Popular Tags |