Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: mock/java/util/logging/LoggerMock.java


1   package mock.java.util.logging;
2   
3   import java.util.ResourceBundle;
4   import java.util.logging.Filter;
5   import java.util.logging.Handler;
6   import java.util.logging.Level;
7   import java.util.logging.LogRecord;
8   import java.util.logging.Logger;
9   
10  public class LoggerMock extends Logger {
11  
12    public LoggerMock() {
13      super(null, null);
14    }
15    public synchronized void addHandler(Handler handler) throws SecurityException {
16      throw new UnsupportedOperationException("implement me");
17    }
18  
19    public void config(String msg) {
20      throw new UnsupportedOperationException("implement me");
21    }
22  
23    public void entering(String sourceClass, String sourceMethod, Object param1) {
24      throw new UnsupportedOperationException("implement me");
25    }
26  
27    public void entering(String sourceClass, String sourceMethod, Object[] params) {
28      throw new UnsupportedOperationException("implement me");
29    }
30  
31    public void entering(String sourceClass, String sourceMethod) {
32      throw new UnsupportedOperationException("implement me");
33    }
34  
35    public void exiting(String sourceClass, String sourceMethod, Object result) {
36      throw new UnsupportedOperationException("implement me");
37    }
38  
39    public void exiting(String sourceClass, String sourceMethod) {
40      throw new UnsupportedOperationException("implement me");
41    }
42  
43    public boolean fineCalled;
44    public String fineMessage;
45    public void fine(String msg) {
46      fineCalled = true;
47      fineMessage = msg;
48    }
49  
50    public void finer(String msg) {
51      throw new UnsupportedOperationException("implement me");
52    }
53  
54    public void finest(String msg) {
55      throw new UnsupportedOperationException("implement me");
56    }
57  
58    public Filter getFilter() {
59      throw new UnsupportedOperationException("implement me");
60    }
61  
62    public synchronized Handler[] getHandlers() {
63      throw new UnsupportedOperationException("implement me");
64    }
65  
66    public Level getLevel() {
67      throw new UnsupportedOperationException("implement me");
68    }
69  
70    public String getName() {
71      throw new UnsupportedOperationException("implement me");
72    }
73  
74    public Logger getParent() {
75      throw new UnsupportedOperationException("implement me");
76    }
77  
78    public ResourceBundle getResourceBundle() {
79      throw new UnsupportedOperationException("implement me");
80    }
81  
82    public String getResourceBundleName() {
83      throw new UnsupportedOperationException("implement me");
84    }
85  
86    public synchronized boolean getUseParentHandlers() {
87      throw new UnsupportedOperationException("implement me");
88    }
89  
90    public void info(String msg) {
91      throw new UnsupportedOperationException("implement me");
92    }
93  
94    public boolean isLoggable(Level level) {
95      throw new UnsupportedOperationException("implement me");
96    }
97  
98    public void log(Level level, String msg, Object param1) {
99      throw new UnsupportedOperationException("implement me");
100   }
101 
102   public void log(Level level, String msg, Object[] params) {
103     throw new UnsupportedOperationException("implement me");
104   }
105 
106   public void log(Level level, String msg, Throwable thrown) {
107     throw new UnsupportedOperationException("implement me");
108   }
109 
110   public void log(Level level, String msg) {
111     throw new UnsupportedOperationException("implement me");
112   }
113 
114   public void log(LogRecord record) {
115     throw new UnsupportedOperationException("implement me");
116   }
117 
118   public void logp(
119     Level level,
120     String sourceClass,
121     String sourceMethod,
122     String msg,
123     Object param1) {
124     throw new UnsupportedOperationException("implement me");
125   }
126 
127   public void logp(
128     Level level,
129     String sourceClass,
130     String sourceMethod,
131     String msg,
132     Object[] params) {
133     throw new UnsupportedOperationException("implement me");
134   }
135 
136   public void logp(
137     Level level,
138     String sourceClass,
139     String sourceMethod,
140     String msg,
141     Throwable thrown) {
142     throw new UnsupportedOperationException("implement me");
143   }
144 
145   public void logp(Level level, String sourceClass, String sourceMethod, String msg) {
146     throw new UnsupportedOperationException("implement me");
147   }
148 
149   public void logrb(
150     Level level,
151     String sourceClass,
152     String sourceMethod,
153     String bundleName,
154     String msg,
155     Object param1) {
156     throw new UnsupportedOperationException("implement me");
157   }
158 
159   public void logrb(
160     Level level,
161     String sourceClass,
162     String sourceMethod,
163     String bundleName,
164     String msg,
165     Object[] params) {
166     throw new UnsupportedOperationException("implement me");
167   }
168 
169   public void logrb(
170     Level level,
171     String sourceClass,
172     String sourceMethod,
173     String bundleName,
174     String msg,
175     Throwable thrown) {
176     throw new UnsupportedOperationException("implement me");
177   }
178 
179   public void logrb(
180     Level level,
181     String sourceClass,
182     String sourceMethod,
183     String bundleName,
184     String msg) {
185     throw new UnsupportedOperationException("implement me");
186   }
187 
188   public synchronized void removeHandler(Handler handler) throws SecurityException {
189     throw new UnsupportedOperationException("implement me");
190   }
191 
192   public void setFilter(Filter newFilter) throws SecurityException {
193     throw new UnsupportedOperationException("implement me");
194   }
195 
196   public void setLevel(Level newLevel) throws SecurityException {
197     throw new UnsupportedOperationException("implement me");
198   }
199 
200   public void setParent(Logger parent) {
201     throw new UnsupportedOperationException("implement me");
202   }
203 
204   public synchronized void setUseParentHandlers(boolean useParentHandlers) {
205     throw new UnsupportedOperationException("implement me");
206   }
207 
208   public boolean severeCalled;
209   public String severeMessage;
210   public void severe(String msg) {
211     severeCalled = true;
212     severeMessage = msg;
213   }
214 
215   public void throwing(String sourceClass, String sourceMethod, Throwable thrown) {
216     throw new UnsupportedOperationException("implement me");
217   }
218 
219   public void warning(String msg) {
220     throw new UnsupportedOperationException("implement me");
221   }
222 
223   public int hashCode() {
224     throw new UnsupportedOperationException("implement me");
225   }
226 
227   public boolean equals(Object obj) {
228     throw new UnsupportedOperationException("implement me");
229   }
230 
231   protected Object clone() throws CloneNotSupportedException {
232     throw new UnsupportedOperationException("implement me");
233   }
234 
235   public String toString() {
236     throw new UnsupportedOperationException("implement me");
237   }
238 
239   protected void finalize() throws Throwable {
240     throw new UnsupportedOperationException("implement me");
241   }
242 
243 }