Package org.gbif.api.exception
Class UnparsableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.gbif.api.exception.UnparsableException
-
- All Implemented Interfaces:
Serializable
public class UnparsableException extends Exception
Exception thrown when a scientific name cannot be parsed. The type property is set for known name types that cannot be parsed but be detected, for example hybrids, virus or placeholder names. The name property holds the name that cannot be parsed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnparsableException(NameType type, String name)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-