Package net.andreinc.aleph
Class UncheckedFormatterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.andreinc.aleph.UncheckedFormatterException
- All Implemented Interfaces:
java.io.Serializable
public class UncheckedFormatterException
extends java.lang.RuntimeException
Created by andreinicolinciobanu on 30/03/17.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINVALID_POSITIONAL_ARGUMENTstatic java.lang.StringINVALID_POSITIONAL_ARGUMENTS -
Constructor Summary
Constructors Constructor Description UncheckedFormatterException()UncheckedFormatterException(java.lang.String message)UncheckedFormatterException(java.lang.String message, java.lang.Throwable cause)UncheckedFormatterException(java.lang.Throwable cause) -
Method Summary
Modifier and Type Method Description static UncheckedFormatterExceptionargumentAlreadyExist(java.lang.String arg)static UncheckedFormatterExceptioninvalidArgumentName(java.lang.Object argName)static UncheckedFormatterExceptioninvalidCharacterInParam(char c, int idx)static UncheckedFormatterExceptioninvalidNumberOfArguments(int argsNum)static UncheckedFormatterExceptioninvalidPositionalArguments()static UncheckedFormatterExceptioninvalidPositionalArgumentValue(java.lang.Integer index)static UncheckedFormatterExceptioninvalidStateException(AlephFormatter.State state)static UncheckedFormatterExceptionioExceptionReadingFromFile(java.lang.String strPath, java.lang.Throwable t)
-
Field Details
-
INVALID_POSITIONAL_ARGUMENT
public static final java.lang.String INVALID_POSITIONAL_ARGUMENT- See Also:
- Constant Field Values
-
INVALID_POSITIONAL_ARGUMENTS
public static final java.lang.String INVALID_POSITIONAL_ARGUMENTS- See Also:
- Constant Field Values
-
-
Constructor Details
-
UncheckedFormatterException
public UncheckedFormatterException() -
UncheckedFormatterException
public UncheckedFormatterException(java.lang.String message) -
UncheckedFormatterException
public UncheckedFormatterException(java.lang.String message, java.lang.Throwable cause) -
UncheckedFormatterException
public UncheckedFormatterException(java.lang.Throwable cause)
-
-
Method Details
-
invalidPositionalArguments
-
invalidNumberOfArguments
-
argumentAlreadyExist
-
invalidCharacterInParam
-
ioExceptionReadingFromFile
public static UncheckedFormatterException ioExceptionReadingFromFile(java.lang.String strPath, java.lang.Throwable t) -
invalidArgumentName
-
invalidStateException
-
invalidPositionalArgumentValue
-