Class ExifToolNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.thebuzzmedia.exiftool.exceptions.ExifToolNotFoundException
-
- All Implemented Interfaces:
Serializable
public class ExifToolNotFoundException extends RuntimeException
Exception thrown when exiftool program is missing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExifToolNotFoundException(IOException ex, String path)
Create exception.ExifToolNotFoundException(String path, CommandResult result)
Create exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPath()
Get ExifTool path defined during command execution.CommandResult
getResult()
Get result triggered during command execution.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ExifToolNotFoundException
public ExifToolNotFoundException(String path, CommandResult result)
Create exception.- Parameters:
path
- ExifTool path defined during command execution.result
- The result triggered during command execution.
-
ExifToolNotFoundException
public ExifToolNotFoundException(IOException ex, String path)
Create exception.- Parameters:
ex
- The original exception.path
- ExifTool path defined during command execution.
-
-
Method Detail
-
getPath
public String getPath()
Get ExifTool path defined during command execution.- Returns:
- ExifTool path defined during command execution.
-
getResult
public CommandResult getResult()
Get result triggered during command execution.- Returns:
- The result triggered during command execution.
-
-