001package org.jszip.css; 002 003/** 004 * @author stephenc 005 * @since 31/01/2013 23:58 006 */ 007public class CssCompilationError extends Exception { 008 009 private final String fileName; 010 private final int line; 011 private final int col; 012 013 public CssCompilationError(String fileName, int line, int col) { 014 this.fileName = fileName; 015 this.line = line; 016 this.col = col; 017 } 018 019 public CssCompilationError(String fileName, int line, int col, Throwable cause) { 020 super(cause); 021 this.fileName = fileName; 022 this.line = line; 023 this.col = col; 024 } 025 026 public CssCompilationError(String fileName, int line, int col, String message) { 027 super(message); 028 this.fileName = fileName; 029 this.line = line; 030 this.col = col; 031 } 032 033 public CssCompilationError(String fileName, int line, int col, String message, Throwable cause) { 034 super(message, cause); 035 this.fileName = fileName; 036 this.line = line; 037 this.col = col; 038 } 039}