Package com.tonic.renamer.exception
Class InvalidNameException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.tonic.renamer.exception.RenameException
-
- com.tonic.renamer.exception.InvalidNameException
-
- All Implemented Interfaces:
Serializable
public class InvalidNameException extends RenameException
Exception thrown when a name is not a valid Java identifier.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidNameException(String invalidName, String reason)Creates the failure; the name and reason are folded into the message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInvalidName()StringgetReason()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-