View Javadoc
1   /**
2    * Logback: the reliable, generic, fast and flexible logging framework.
3    * Copyright (C) 1999-2015, QOS.ch. All rights reserved.
4    *
5    * This program and the accompanying materials are dual-licensed under
6    * either the terms of the Eclipse Public License v1.0 as published by
7    * the Eclipse Foundation
8    *
9    *   or (per the licensee's choosing)
10   *
11   * under the terms of the GNU Lesser General Public License version 2.1
12   * as published by the Free Software Foundation.
13   */
14  package ch.qos.logback.classic.spi;
15  
16  public class DummyThrowableProxy implements IThrowableProxy {
17  
18      private String className;
19      private String message;
20      private int commonFramesCount;
21      private StackTraceElementProxy[] stackTraceElementProxyArray;
22      private IThrowableProxy cause;
23      private IThrowableProxy[] suppressed;
24  
25      public String getClassName() {
26          return className;
27      }
28  
29      public void setClassName(String className) {
30          this.className = className;
31      }
32  
33      public String getMessage() {
34          return message;
35      }
36  
37      public void setMessage(String message) {
38          this.message = message;
39      }
40  
41      public int getCommonFrames() {
42          return commonFramesCount;
43      }
44  
45      public void setCommonFramesCount(int commonFramesCount) {
46          this.commonFramesCount = commonFramesCount;
47      }
48  
49      public StackTraceElementProxy[] getStackTraceElementProxyArray() {
50          return stackTraceElementProxyArray;
51      }
52  
53      public void setStackTraceElementProxyArray(StackTraceElementProxy[] stackTraceElementProxyArray) {
54          this.stackTraceElementProxyArray = stackTraceElementProxyArray;
55      }
56  
57      public IThrowableProxy getCause() {
58          return cause;
59      }
60  
61      public void setCause(IThrowableProxy cause) {
62          this.cause = cause;
63      }
64  
65      public IThrowableProxy[] getSuppressed() {
66          return suppressed;
67      }
68  
69      public void setSuppressed(IThrowableProxy[] suppressed) {
70          this.suppressed = suppressed;
71      }
72  }