Hi! I´m wondering if it´s possible create a constr...
# announcements
j
Hi! I´m wondering if it´s possible create a constructor that throws a exception in some cases? Anyone could tell me how can I achieve this?? Thanks in advance
r
you can throw an Exception in
init
👍 2
j
Thanks!! I didn´t find anything in the reference docs