Package com.tonic.renamer.exception
Class RenameException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.tonic.renamer.exception.RenameException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidNameException,NameConflictException
public class RenameException extends RuntimeException
Base exception for all rename-related errors.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RenameException(String message)Creates the failure.RenameException(String message, Throwable cause)Creates the failure with an underlying cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RenameException
public RenameException(String message)
Creates the failure.- Parameters:
message- what went wrong
-
-