2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com
.intellij
.errorreport
.bean
;
18 import com
.intellij
.util
.SystemProperties
;
20 import java
.util
.Date
;
22 import org
.jetbrains
.annotations
.NonNls
;
25 * Created by IntelliJ IDEA.
29 * To change this template use Options | File Templates.
31 public class ErrorBean
{
32 private String notifierId
;
33 private String exceptionHashCode
;
36 private String lastAction
;
37 private String description
;
39 public void autoInit () {
40 os
= SystemProperties
.getOsName();
44 public String
getNotifierId() {
48 public void setNotifierId(String notifierId
) {
49 this.notifierId
= notifierId
;
52 public Date
getDate() {
56 public void setDate(Date date
) {
60 public String
getOs() {
64 public void setOs(String os
) {
68 public String
getLastAction() {
72 public void setLastAction(String lastAction
) {
73 this.lastAction
= lastAction
;
76 public String
getDescription() {
80 public void setDescription(@NonNls String description
) {
81 this.description
= description
;
84 public String
getExceptionHashCode() {
85 return exceptionHashCode
;
88 public void setExceptionHashCode(String exceptionId
) {
89 exceptionHashCode
= exceptionId
;