Package nz.org.riskscape.engine.io
Class NoSuitableTypeIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
nz.org.riskscape.engine.io.NoSuitableTypeIOException
- All Implemented Interfaces:
Serializable
Throws by TypeIOBuilder
s when a TypeIO
object couldn't be constructed - typically because there
is no support for reading/writing a particular type.
TypeIO
constructing code will need to explicitly handle these exceptions (hence the checked exception) and
present the user with an error message to say why they can't do what they want to do. It is intentional that this
is not using ResultOrProblems
so that construction code can be kept simple and because it's expected that
99% of attempts to build a TypeIO
object will succeed (because implementations should exist).
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuitableTypeIOException
-