|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jcoderz.commons.BaseRuntimeException
org.jcoderz.commons.ArgumentMalformedException
org.jcoderz.commons.ArgumentMaxLengthViolationException
public class ArgumentMaxLengthViolationException
The given argument is at least partly malformed.
Argument ''{ARGUMENT_NAME}'' cannot be set to
value ''{Serializable:ARGUMENT_VALUE}''. The length of the Value
({Integer:ARGUMENT_LENGTH}) exceeds the allowed maximum length
({Integer:MAX_LENGTH}) for {Class:ARGUMENT_CLASS}.
This exception encapsulates the log message
RteLogMessage.ARGUMENT_MAX_LENGTH_VIOLATION.
| Constructor Summary | |
|---|---|
protected |
ArgumentMaxLengthViolationException(RteLogMessage messageInfo)
Constructor getting an log message info. |
protected |
ArgumentMaxLengthViolationException(RteLogMessage messageInfo,
Throwable cause)
Constructor getting an log message info and a root exception. |
|
ArgumentMaxLengthViolationException(String argumentName,
Serializable argumentValue,
Integer argumentLength,
Integer maxLength,
Class argumentClass)
Constructs a argument max length violation exception with a cause. |
|
ArgumentMaxLengthViolationException(String argumentName,
Serializable argumentValue,
Integer argumentLength,
Integer maxLength,
Class argumentClass,
Throwable cause)
Constructs a argument max length violation exception with a cause. |
| Method Summary | |
|---|---|
Class |
valueOfArgumentClass()
Returns the value of the parameter argumentClass. |
Integer |
valueOfArgumentLength()
Returns the value of the parameter argumentLength. |
String |
valueOfArgumentName()
Returns the value of the parameter argumentName. |
Serializable |
valueOfArgumentValue()
Returns the value of the parameter argumentValue. |
Integer |
valueOfMaxLength()
Returns the value of the parameter maxLength. |
| Methods inherited from class org.jcoderz.commons.ArgumentMalformedException |
|---|
valueOfHint |
| Methods inherited from class org.jcoderz.commons.BaseRuntimeException |
|---|
addParameter, getCause, getEventTime, getInstanceId, getLogMessageInfo, getMessage, getNodeId, getParameter, getParameterNames, getSourceClass, getSourceMethod, getThreadId, getThreadName, getTrackingNumber, initCause, log, logCreation, toDetailedString, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArgumentMaxLengthViolationException(String argumentName,
Serializable argumentValue,
Integer argumentLength,
Integer maxLength,
Class argumentClass,
Throwable cause)
argumentName - The argument name used in the message.argumentValue - The argument value used in the message.argumentLength - The argument length used in the message.maxLength - The max length used in the message.argumentClass - The argument class used in the message.cause - the cause of this exception.
public ArgumentMaxLengthViolationException(String argumentName,
Serializable argumentValue,
Integer argumentLength,
Integer maxLength,
Class argumentClass)
argumentName - The argument name used in the message.argumentValue - The argument value used in the message.argumentLength - The argument length used in the message.maxLength - The max length used in the message.argumentClass - The argument class used in the message.protected ArgumentMaxLengthViolationException(RteLogMessage messageInfo)
messageInfo - the log message info for this exception
protected ArgumentMaxLengthViolationException(RteLogMessage messageInfo,
Throwable cause)
messageInfo - the log message info for this exceptioncause - the problem that caused this exception to be thrown| Method Detail |
|---|
public String valueOfArgumentName()
valueOfArgumentName in class ArgumentMalformedExceptionpublic Serializable valueOfArgumentValue()
valueOfArgumentValue in class ArgumentMalformedExceptionpublic Integer valueOfArgumentLength()
public Integer valueOfMaxLength()
public Class valueOfArgumentClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||