diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs index fdec096..0888818 100644 --- a/src/error.rs +++ b/src/error.rs @@ -7,7 +7,6 @@ pub struct IllegalArgumentException(String); impl IllegalArgumentException { pub fn new(msg: &str) -> IllegalArgumentException { - error!(msg); IllegalArgumentException(msg.to_string()) } } @@ -31,7 +30,6 @@ pub struct IllegalStateException { impl IllegalStateException { pub fn new(msg: &str) -> IllegalStateException { - error!(msg); IllegalStateException { details: msg.to_string(), } |