Skip to content

Commit

Permalink
FURNACE-98: Improved error message
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jan 14, 2016
1 parent abdecd7 commit 3cf9b17
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ static Furnace instance(ClassLoader loader)
{
return provider.getFurnace(loader);
}
throw new IllegalArgumentException("No Furnace instance accessible through " + loader);

throw new IllegalArgumentException("No Furnace container found in the " + loader
+ ". This method must be called within a running Furnace Addon that references a valid Furnace Container.");
}
}

0 comments on commit 3cf9b17

Please sign in to comment.