|
1 |
| package com.agical.rmock.core.find.iterator; |
|
2 |
| |
|
3 |
| import java.net.URL; |
|
4 |
| |
|
5 |
| import com.agical.rmock.core.exception.RMockSystemException; |
|
6 |
| |
|
7 |
| |
|
8 |
| |
|
9 |
| |
|
10 |
| |
|
11 |
| |
|
12 |
| public class ServiceException extends RMockSystemException { |
|
13 |
| private static final long serialVersionUID = 1L; |
|
14 |
| |
|
15 |
0
| public ServiceException(Class clazz, String className, URL url, Exception e) {
|
|
16 |
0
| super( "Could not create instance of \n" + clazz +
|
|
17 |
| "\n named \n" + className + |
|
18 |
| "\n from \n" + url + |
|
19 |
| "\n due to\n" + e.getClass() + ":\"" + e.getMessage() + "\"" ); |
|
20 |
| } |
|
21 |
| } |