1 package io.guixer.lang; 2 3 import javax.annotation.Nullable; 4 5 public class GuixerSyntaxException extends Exception { 6 7 private static final long serialVersionUID = -7370227746622977235L; 8 9 public GuixerSyntaxException( 10 @Nullable final String message, 11 final GuixerSyntaxErrorType type 12 ) { 13 14 super(message); 15 16 this.type = type; 17 } 18 19 @Nullable 20 public final GuixerSyntaxErrorType type; 21 }