Throws an exception if the instance holds a name that without a matching Charset. @throws UnsupportedEncodingException if the holder contains a name without a matching Charset
()
| 126 | * @throws UnsupportedEncodingException if the holder contains a name without a matching Charset |
| 127 | */ |
| 128 | public void validate() throws UnsupportedEncodingException { |
| 129 | if (name != null && charset == null) { |
| 130 | throw new UnsupportedEncodingException(name); |
| 131 | } |
| 132 | } |
| 133 | } |
no outgoing calls
no test coverage detected