Returns a java.lang.RuntimeException indicating that a particular feature has not been implemented, but should be. If every 'hole' in our functionality uses this method, it will be easier for us to identify the holes. Throwing a java.lang.UnsupportedOperationException isn't as go
(@Nullable Object o)
| 1206 | * @return an {@link UnsupportedOperationException}. |
| 1207 | */ |
| 1208 | public static RuntimeException needToImplement(@Nullable Object o) { |
| 1209 | String description = null; |
| 1210 | if (o != null) { |
| 1211 | description = o.getClass().toString() + ": " + o.toString(); |
| 1212 | } |
| 1213 | throw new UnsupportedOperationException(description); |
| 1214 | } |
| 1215 | |
| 1216 | /** |
| 1217 | * Flags a piece of code as needing to be cleaned up before you check in. |
no test coverage detected