srcanaapps/apiquerytool/com.nokia.s60tools.apiquery/src/com/nokia/s60tools/apiquery/popup/actions/QueryErrorInfo.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 package com.nokia.s60tools.apiquery.popup.actions; |
|
19 |
|
20 /** |
|
21 * Simple class for storing error information returned query operations. |
|
22 * This is needed because queries are runned inside a runnable and |
|
23 * error info is got via try/catch, and the error information usage |
|
24 * related needs to be done outside runnable where catch is made. |
|
25 * This class should stay with package private visibility. |
|
26 */ |
|
27 class QueryErrorInfo{ |
|
28 /** |
|
29 * Error description is set on failure. |
|
30 */ |
|
31 private String errorDescription = new String(); |
|
32 |
|
33 /** |
|
34 * Gets error description. |
|
35 * @return the errorDescription |
|
36 */ |
|
37 public String getErrorDescription() { |
|
38 return errorDescription; |
|
39 } |
|
40 |
|
41 /** |
|
42 * Sets error description. |
|
43 * @param errorDescription the errorDescription to set |
|
44 */ |
|
45 public void setErrorDescription(String errorDescription) { |
|
46 this.errorDescription = errorDescription; |
|
47 } |
|
48 } |