001/* -*- mode: Java; c-basic-offset: 2; indent-tabs-mode: nil; coding: utf-8-unix -*- 002 * 003 * Copyright © 2017-2018 microBean. 004 * 005 * Licensed under the Apache License, Version 2.0 (the "License"); 006 * you may not use this file except in compliance with the License. 007 * You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 014 * implied. See the License for the specific language governing 015 * permissions and limitations under the License. 016 */ 017package org.microbean.helm; 018 019import java.io.Serializable; // for javadoc only 020 021/** 022 * A {@link HelmException} indicating a Tiller-related problem. 023 * 024 * @author <a href="https://about.me/lairdnelson" 025 * target="_parent">Laird Nelson</a> 026 */ 027public class TillerException extends HelmException { 028 029 030 /* 031 * Static fields. 032 */ 033 034 035 /** 036 * The version of this class for {@linkplain Serializable 037 * serialization purposes}. 038 */ 039 private static final long serialVersionUID = 1L; 040 041 042 /* 043 * Constructors. 044 */ 045 046 047 /** 048 * Creates a new {@link TillerException}. 049 */ 050 protected TillerException() { 051 super(); 052 } 053 054 /** 055 * Creates a new {@link TillerException}. 056 * 057 * @param message a descriptive message; may be {@code null} 058 */ 059 protected TillerException(final String message) { 060 super(message); 061 } 062 063 /** 064 * Creates a new {@link TillerException}. 065 * 066 * @param cause the {@link Throwable} responsible for this {@link 067 * TillerException}; may be {@code null} 068 */ 069 protected TillerException(final Throwable cause) { 070 super(cause); 071 } 072 073 /** 074 * Creates a new {@link TillerException}. 075 * 076 * @param message a descriptive message; may be {@code null} 077 * 078 * @param cause the {@link Throwable} responsible for this {@link 079 * TillerException}; may be {@code null} 080 */ 081 protected TillerException(final String message, final Throwable cause) { 082 super(message, cause); 083 } 084 085}