1 /*
2 XMLPullParserException.java
3
4 (C) Copyright IBM Corp. 2005, 2009
5
6 THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
7 ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
8 CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
9
10 You can obtain a current copy of the Eclipse Public License from
11 http://www.opensource.org/licenses/eclipse-1.0.php
12
13 @author : Roberto Pineiro, IBM, roberto.pineiro@us.ibm.com
14 * @author : Chung-hao Tan, IBM, chungtan@us.ibm.com
15 *
16 *
17 * Change History
18 * Flag Date Prog Description
19 *-------------------------------------------------------------------------------
20 * 1535756 2006-08-07 lupusalex Make code warning free
21 * 2003590 2008-06-30 blaschke-oss Change licensing from CPL to EPL
22 * 2524131 2009-01-21 raman_arora Upgrade client to JDK 1.5 (Phase 1)
23 */
24
25 package org.metricshub.wbem.sblim.cimclient.internal.pullparser;
26
27 /*-
28 * ╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲
29 * WBEM Java Client
30 * ჻჻჻჻჻჻
31 * Copyright 2023 - 2025 MetricsHub
32 * ჻჻჻჻჻჻
33 * Licensed under the Apache License, Version 2.0 (the "License");
34 * you may not use this file except in compliance with the License.
35 * You may obtain a copy of the License at
36 *
37 * http://www.apache.org/licenses/LICENSE-2.0
38 *
39 * Unless required by applicable law or agreed to in writing, software
40 * distributed under the License is distributed on an "AS IS" BASIS,
41 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * See the License for the specific language governing permissions and
43 * limitations under the License.
44 * ╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱
45 */
46
47 import java.io.IOException;
48
49 /**
50 * Class XMLPullParserException is thrown by the PULL parser.
51 *
52 */
53 public class XMLPullParserException extends IOException {
54 private static final long serialVersionUID = 8136106792375541159L;
55
56 /**
57 * Ctor.
58 *
59 * @param str
60 */
61 public XMLPullParserException(String str) {
62 super(str);
63 }
64
65 /**
66 * Ctor.
67 *
68 * @param parser
69 * @param str
70 */
71 public XMLPullParserException(XMLPullParser parser, String str) {
72 super(str + " at line: " + parser.iLineNumber + ", column: " + parser.iColNumber);
73 }
74 }