001/** 002 * Logback: the reliable, generic, fast and flexible logging framework. 003 * Copyright (C) 1999-2015, QOS.ch. All rights reserved. 004 * 005 * This program and the accompanying materials are dual-licensed under 006 * either the terms of the Eclipse Public License v1.0 as published by 007 * the Eclipse Foundation 008 * 009 * or (per the licensee's choosing) 010 * 011 * under the terms of the GNU Lesser General Public License version 2.1 012 * as published by the Free Software Foundation. 013 */ 014package ch.qos.logback.classic.spi; 015 016public class DummyThrowableProxy implements IThrowableProxy { 017 018 private String className; 019 private String message; 020 private int commonFramesCount; 021 private StackTraceElementProxy[] stackTraceElementProxyArray; 022 private IThrowableProxy cause; 023 private IThrowableProxy[] suppressed; 024 025 public String getClassName() { 026 return className; 027 } 028 029 public void setClassName(String className) { 030 this.className = className; 031 } 032 033 public String getMessage() { 034 return message; 035 } 036 037 public void setMessage(String message) { 038 this.message = message; 039 } 040 041 public int getCommonFrames() { 042 return commonFramesCount; 043 } 044 045 public void setCommonFramesCount(int commonFramesCount) { 046 this.commonFramesCount = commonFramesCount; 047 } 048 049 public StackTraceElementProxy[] getStackTraceElementProxyArray() { 050 return stackTraceElementProxyArray; 051 } 052 053 public void setStackTraceElementProxyArray(StackTraceElementProxy[] stackTraceElementProxyArray) { 054 this.stackTraceElementProxyArray = stackTraceElementProxyArray; 055 } 056 057 public IThrowableProxy getCause() { 058 return cause; 059 } 060 061 public void setCause(IThrowableProxy cause) { 062 this.cause = cause; 063 } 064 065 public IThrowableProxy[] getSuppressed() { 066 return suppressed; 067 } 068 069 public void setSuppressed(IThrowableProxy[] suppressed) { 070 this.suppressed = suppressed; 071 } 072}