Package org.openstreetmap.josm.io
Class IllegalDataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.io.IllegalDataException
-
- All Implemented Interfaces:
Serializable
public class IllegalDataException extends Exception
Generic exception raised when illegal data is read.- Since:
- 2070
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalDataException(String message)
Constructs a newIllegalDataException
.IllegalDataException(String message, Throwable cause)
Constructs a newIllegalDataException
.IllegalDataException(Throwable cause)
Constructs a newIllegalDataException
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalDataException
public IllegalDataException(String message, Throwable cause)
Constructs a newIllegalDataException
.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method).
-
IllegalDataException
public IllegalDataException(String message)
Constructs a newIllegalDataException
.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).
-
IllegalDataException
public IllegalDataException(Throwable cause)
Constructs a newIllegalDataException
.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method).
-
-