Skip to content

Commit

Permalink
Added check
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Jan 17, 2020
1 parent 388a33d commit 2292e3a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@

import javax.annotation.Nonnull;

import com.helger.jcodemodel.util.JCValueEnforcer;

/**
* Indicates that the class is already created.
*
Expand All @@ -53,6 +55,7 @@ public class JClassAlreadyExistsException extends Exception

public JClassAlreadyExistsException (@Nonnull final AbstractJClass aExisting)
{
JCValueEnforcer.notNull (aExisting, "ExistingClass");
m_aExisting = aExisting;
}

Expand Down

0 comments on commit 2292e3a

Please sign in to comment.