All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.rabanti.picoxlsx4j.exception.StyleException Maven / Gradle / Ivy

Go to download

PicoXLSX4j is a small Java library to create XLSX files (Microsoft Excel 2007 or newer) in an easy and native way. It is a direct port of PicoXLSX for C#: No need for an installation of Microsoft Office. No need for Office interop/DCOM or other bridging libraries. No need for 3rd party libraries. Pure usage of standard JRE

There is a newer version: 2.6.0
Show newest version
/*
 * PicoXLSX4j is a small Java library to generate XLSX (Microsoft Excel 2007 or newer) files in an easy and native way
 * Copyright Raphael Stoeckli © 2018
 * This library is licensed under the MIT License.
 * You find a copy of the license in project folder or on: http://opensource.org/licenses/MIT
 */
package ch.rabanti.picoxlsx4j.exception;

/**
 * Class for exceptions regarding Styles
 * @author Raphael Stoeckli
 */
public class StyleException extends RuntimeException{
    
    private String exceptionTitle;
    
    /**
     * Gets the title of the exception
     * @return Title as string
     */
    public String getExceptionTitle() {
        return exceptionTitle;
    }
    
    
    /**
     * Default constructor
     */    
    public StyleException()
    {
        super();
    }
    
    /**
     * Constructor with passed message
     * @param title Title of the exception
     * @param message Message of the exception
     */    
    public StyleException(String title, String message)
    {
        super(title + ": " + message);
        this.exceptionTitle = title;
    }
    
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy