Package com.aspectran.core.util.apon
Class InvalidParameterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.util.apon.AponException
-
- com.aspectran.core.util.apon.AponParseException
-
- com.aspectran.core.util.apon.AponSyntaxException
-
- com.aspectran.core.util.apon.InvalidParameterException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
IncompatibleParameterValueTypeException
,UnknownParameterException
public class InvalidParameterException extends AponSyntaxException
Exception thrown when an invalid parameter is encountered.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidParameterException()
Simple constructor.InvalidParameterException(int lineNumber, java.lang.String line, java.lang.String tline, java.lang.String msg)
Constructor to create exception with a message.InvalidParameterException(java.lang.String msg)
Constructor to create exception with a message.InvalidParameterException(java.lang.String msg, java.lang.Throwable cause)
Constructor to create exception to wrap another exception and pass a message.InvalidParameterException(java.lang.Throwable cause)
Constructor to create exception to wrap another exception.
-
Method Summary
-
Methods inherited from class com.aspectran.core.util.apon.AponSyntaxException
createMessage
-
-
-
-
Constructor Detail
-
InvalidParameterException
public InvalidParameterException()
Simple constructor.
-
InvalidParameterException
public InvalidParameterException(java.lang.String msg)
Constructor to create exception with a message.- Parameters:
msg
- a message to associate with the exception
-
InvalidParameterException
public InvalidParameterException(int lineNumber, java.lang.String line, java.lang.String tline, java.lang.String msg)
Constructor to create exception with a message.- Parameters:
lineNumber
- the line numberline
- the character linetline
- the trimmed character linemsg
- a message to associate with the exception
-
InvalidParameterException
public InvalidParameterException(java.lang.Throwable cause)
Constructor to create exception to wrap another exception.- Parameters:
cause
- the real cause of the exception
-
InvalidParameterException
public InvalidParameterException(java.lang.String msg, java.lang.Throwable cause)
Constructor to create exception to wrap another exception and pass a message.- Parameters:
msg
- the messagecause
- the real cause of the exception
-
-