| 186 | | } else if(cause instanceof SAXException) { |
|---|
| 187 | | msg = "(SAXException): trouble parsing " |
|---|
| 188 | | + specifics + " returned from web service"; |
|---|
| 189 | | } else if(cause instanceof IOException) { |
|---|
| 190 | | msg = "(IOException): trouble parsing " |
|---|
| 191 | | + specifics + " returned from web service"; |
|---|
| 192 | | } |
|---|
| 193 | | /*else if(cause instanceof TransformerException) { |
|---|
| 194 | | msg = msg + "(TransformerException) - trouble converting original XML " |
|---|
| 195 | | + "response into String"; |
|---|
| 196 | | }*/ |
|---|
| 197 | | // else (other Exception, including FedoraVersionNotSupportedException) |
|---|
| 198 | | // in those cases, just return it as it is. |
|---|
| 199 | | |
|---|
| 200 | | // else msg = ""; |
|---|
| 201 | | if(!msg.equals("")) |
|---|
| 202 | | msg = " " + msg + ". "; |
|---|
| 203 | | |
|---|
| | 187 | } else if(cause instanceof SAXException) { |
|---|
| | 188 | msg = "(SAXException): trouble parsing " |
|---|
| | 189 | + specifics + " returned from web service"; |
|---|
| | 190 | } else if(cause instanceof IOException) { |
|---|
| | 191 | msg = "(IOException): trouble parsing " |
|---|
| | 192 | + specifics + " returned from web service"; |
|---|
| | 193 | } /*else if(cause instanceof TransformerException) { |
|---|
| | 194 | msg = msg + "(TransformerException) - trouble converting original XML " |
|---|
| | 195 | + "response into String"; |
|---|
| | 196 | }*/ |
|---|
| | 197 | // else (other Exception, including FedoraVersionNotSupportedException) |
|---|
| | 198 | // in those cases, just return it as it is. |
|---|
| | 199 | // else msg = ""; |
|---|
| | 200 | if(!msg.equals("")) |
|---|
| | 201 | msg = " " + msg + ". "; |
|---|
| | 202 | } |
|---|