001package com.credibledoc.substitution.doc.module.substitution.exception; 002 003/** 004 * Application runtime exception. Extends the {@link RuntimeException}. 005 * 006 * @author Kyrylo Semenko 007 */ 008public class SubstitutionDocRuntimeException extends RuntimeException { 009 010 /** 011 * Call a super {@link RuntimeException#RuntimeException()} constructor 012 */ 013 public SubstitutionDocRuntimeException() { 014 super(); 015 } 016 017 /** 018 * Call a super {@link RuntimeException#RuntimeException(String)} constructor 019 * 020 * @param message see the {@link RuntimeException#RuntimeException(String)} method description 021 */ 022 public SubstitutionDocRuntimeException(String message) { 023 super(message); 024 } 025 026 /** 027 * Call a super {@link RuntimeException#RuntimeException(Throwable)} constructor 028 * 029 * @param throwable see the {@link RuntimeException#RuntimeException(Throwable)} method description 030 */ 031 public SubstitutionDocRuntimeException(Throwable throwable) { 032 super(throwable); 033 } 034 035 /** 036 * Call a super {@link RuntimeException#RuntimeException(String, Throwable)} constructor 037 * 038 * @param message see the {@link RuntimeException#RuntimeException(String, Throwable)} method description 039 * @param cause see the {@link RuntimeException#RuntimeException(String, Throwable)} method description 040 */ 041 public SubstitutionDocRuntimeException(String message, Throwable cause) { 042 super(message, cause); 043 } 044 045}