public class IllegalArgumentException extends IllegalArgumentException
IllegalArgumentException
with support for
localized messages in Weld.Constructor and Description |
---|
IllegalArgumentException(E key,
Object... args)
Creates a new exception with the given localized message key and optional
arguments for the message.
|
IllegalArgumentException(E key,
Throwable throwable,
Object... args) |
IllegalArgumentException(Throwable throwable)
Creates a new exception with the given cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedMessage() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalArgumentException(Throwable throwable)
throwable
- The cause of the exceptionpublic IllegalArgumentException(E key, Throwable throwable, Object... args)
public IllegalArgumentException(E key, Object... args)
E
- The enumeration type for the message keyskey
- The localized message to useargs
- Optional arguments to insert into the messagepublic String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public String getMessage()
getMessage
in class Throwable
Copyright © 2013 Seam Framework. All Rights Reserved.