pub struct IllegalArgumentException(/* private fields */);
Expand description
Exception thrown when an illegal or inappropriate argument is passed to a method.
This exception indicates that a method has been passed an illegal or inappropriate argument. It is similar to Java’s IllegalArgumentException.
Implementations§
Trait Implementations§
Source§impl Debug for IllegalArgumentException
impl Debug for IllegalArgumentException
Source§impl Display for IllegalArgumentException
impl Display for IllegalArgumentException
Source§impl Error for IllegalArgumentException
impl Error for IllegalArgumentException
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Auto Trait Implementations§
impl Freeze for IllegalArgumentException
impl RefUnwindSafe for IllegalArgumentException
impl Send for IllegalArgumentException
impl Sync for IllegalArgumentException
impl Unpin for IllegalArgumentException
impl UnwindSafe for IllegalArgumentException
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more