mirror of
https://github.com/stleary/JSON-java.git
synced 2026-05-19 00:00:46 -04:00
13 lines
264 B
Java
13 lines
264 B
Java
package org.json.junit.data;
|
|
|
|
/**
|
|
* test class for verifying write errors.
|
|
* @author John Aylward
|
|
*
|
|
*/
|
|
public class BrokenToString {
|
|
@Override
|
|
public String toString() {
|
|
throw new IllegalStateException("Something went horribly wrong!");
|
|
}
|
|
} |