<!DOCTYPE html>
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
         <title>WolfScript API ItemTypeException</title>

  <link rel="icon" type="image/x-icon" href="/favicon.ico" />
  <link href="../../../../../assets/css/docs.css" rel="stylesheet" />
  <link href="../../../../../assets/css/github.css" rel="stylesheet" />
  <link href="../../../../../assets/fonts/foundation-icons.css" rel="stylesheet" />
   <script src="../../../../../assets/js/vendor/modernizr.js"></script>
</head>
<body>
  <body class="antialiased hide-extras">
    <div class="inner-wrap">


<nav class="top-bar docs-bar hide-for-small" data-topbar>
  <ul class="title-area">
    <li class="name">
      <h1><a href="/web/index.html"><i class="fi-paw"></i> WolfScript.io</a></h1>
    </li>
  </ul>

  <section class="top-bar-section">
    <ul class="right">
      <li class="divider"></li>
         <li class='divider'></li>
<li><a href='../../../../../index.html' class=''>Docs</a></li>
<li class='divider'></li>
<li><a href='../../../../../wolfbuk/io/wolfscript/0.html' class=''>WolfBuk API</a></li>
<li class='divider'></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/0.html' class=''>WolfCanary API</a></li>
<li class='divider'></li>
<li><a href='../../../../../wolfnode/globals.html' class=''>WolfNode</a></li>

       <li class="divider"></li>
       <li><a href='http://github.com/miningwolf/wolfscript ' class=''> <i class="fi-social-github"></i> Github</a></li>
       <li class="divider"></li>
       <li class="has-form">
       <a href="../../../../../GettingStarted.html " class="small button">Getting Started</a>
       </li>
    </ul>
  </section>
</nav>
<ul class="breadcrumbs">
<li><a href='../../../../../index.html'>Docs </a></li>
 <li><a href='../../../../../wolfcanary/io/wolfscript/0.html'>wolfcanary</a></li>
 <li><a href='../../../../../wolfcanary/io/wolfscript/0.html'>io.wolfscript</a></li>
 <li><a href='../../../../../wolfcanary/io/wolfscript/api/0.html'>api</a></li>
 <li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/0.html'>inventory</a></li>
<li class='current'><a href='#'>ItemTypeException</a></li>

</ul>

      <div class="row">
        <div class="large-3 medium-4 columns">
          <div class="hide-for-small">
            <div class="sidebar">
              <nav>
                <ul class="side-nav accordion" data-accordion>
                  <li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/0.html' class=''>wolfcanary API</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/0.html' class=''>api</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/ai/0.html' class=''>api.ai</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/attributes/0.html' class=''>api.attributes</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/chat/0.html' class=''>api.chat</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/entity/0.html' class=''>api.entity</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/entity/effect/0.html' class=''>api.entity.effect</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/entity/hanging/0.html' class=''>api.entity.hanging</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/entity/living/0.html' class=''>api.entity.living</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/entity/living/animal/0.html' class=''>api.entity.living.animal</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/entity/living/humanoid/0.html' class=''>api.entity.living.humanoid</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/entity/living/humanoid/npc/0.html' class=''>api.entity.living.humanoid.npc</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/entity/living/humanoid/npc/ai/0.html' class=''>api.entity.living.humanoid.npc.ai</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/entity/living/monster/0.html' class=''>api.entity.living.monster</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/entity/throwable/0.html' class=''>api.entity.throwable</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/entity/vehicle/0.html' class=''>api.entity.vehicle</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/factory/0.html' class=''>api.factory</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/gui/0.html' class=''>api.gui</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/0.html' class=''>api.inventory</a></li> 
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/AnimalInventory.html'>AnimalInventory</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/BaseItem.html'>BaseItem</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/CraftingMatrix.html'>CraftingMatrix</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/CustomStorageInventory.html'>CustomStorageInventory</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/Enchantment.html'>Enchantment</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/EnderChestInventory.html'>EnderChestInventory</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/Hopper.html'>Hopper</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/Inventory.html'>Inventory</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/InventoryType.html'>InventoryType</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/Item.html'>Item</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/ItemType.html'>ItemType</a></li>
<li class='active'><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/ItemTypeException.html'>ItemTypeException</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/MapData.html'>MapData</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/PlayerCraftingMatrix.html'>PlayerCraftingMatrix</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/PlayerInventory.html'>PlayerInventory</a></li>
<li><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/VillagerInventory.html'>VillagerInventory</a></li>
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/helper/0.html' class=''>api.inventory.helper</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/recipes/0.html' class=''>api.inventory.recipes</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/inventory/slot/0.html' class=''>api.inventory.slot</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/nbt/0.html' class=''>api.nbt</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/packet/0.html' class=''>api.packet</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/potion/0.html' class=''>api.potion</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/scoreboard/0.html' class=''>api.scoreboard</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/statistics/0.html' class=''>api.statistics</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/world/0.html' class=''>api.world</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/world/blocks/0.html' class=''>api.world.blocks</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/world/blocks/properties/0.html' class=''>api.world.blocks.properties</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/world/blocks/properties/helpers/0.html' class=''>api.world.blocks.properties.helpers</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/world/effects/0.html' class=''>api.world.effects</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/api/world/position/0.html' class=''>api.world.position</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/backbone/0.html' class=''>backbone</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/bansystem/0.html' class=''>bansystem</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/channels/0.html' class=''>channels</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/chat/0.html' class=''>chat</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/commandsys/0.html' class=''>commandsys</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/config/0.html' class=''>config</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/converter/0.html' class=''>converter</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/database/0.html' class=''>database</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/event/0.html' class=''>event</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/exceptions/0.html' class=''>exceptions</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/help/0.html' class=''>help</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/kit/0.html' class=''>kit</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/logger/0.html' class=''>logger</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/metrics/0.html' class=''>metrics</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/motd/0.html' class=''>motd</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/permissionsystem/0.html' class=''>permissionsystem</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/plugin/0.html' class=''>plugin</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/serialize/0.html' class=''>serialize</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/tasks/0.html' class=''>tasks</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/user/0.html' class=''>user</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/util/0.html' class=''>util</a></li> 
<li class='divider'></li>
<li class='heading'><a href='../../../../../wolfcanary/io/wolfscript/warp/0.html' class=''>warp</a></li> 
<li class='divider'></li>

                  </ul>
              </nav>
            </div>
          </div>
        </div>
        <div class="large-9 medium-8 columns">
          <section class="doc-content">
            <h2 id="itemtypeexception-__class__">ItemTypeException <strong>class</strong></h2>
<blockquote>
<p>io.wolfscript.api.inventory.ItemTypeException
Extends <code>RuntimeException</code></p>
</blockquote>
<hr>
<h3 id="class-overview">Class Overview</h3>
<p>Thrown when trying to create an invalid ItemType</p>
<table>
<thead>
<tr>
<th>Method</th>
<th style="text-align:left">Type   </th>
</tr>
</thead>
<tbody>
<tr>
<td>new <strong>ItemTypeException</strong>(str) <br> <em>ItemTypeException constructor</em></td>
<td style="text-align:left"><em>constructor</em></td>
</tr>
</tbody>
</table>
<hr>
<h3 id="public-constructors-for-itemtypeexception-itemtypeexception-md-">Public Constructors for <a href="ItemTypeException.html"><code>ItemTypeException</code></a></h3>
<h5 id="-a-id-itemtypeexception-a-new-__itemtypeexception__-str-"><a id='itemtypeexception'></a>new <strong>ItemTypeException</strong>(str)</h5>
<p><em>ItemTypeException constructor</em></p>
<table>
<thead>
<tr>
<th>Argument</th>
<th>Type</th>
<th>Description  </th>
</tr>
</thead>
<tbody>
<tr>
<td>str</td>
<td><code>String</code></td>
<td>str argument</td>
</tr>
</tbody>
</table>
<h2 id="-">---</h2>
<h5 id="this-file-was-system-generated-using-custom-scripts-copyright-c-2015-mining-wolf-">This file was system generated using custom scripts copyright (c) 2015 Mining Wolf.</h5>


          </section>
        </div>
      </div>
    </div>
    <script src="../../../../../assets/js/vendor/jquery.js"></script>
    <script src="../../../../../assets/js/vendor/fastclick.js"></script>
    <script src="../../../../../assets/js/foundation.min.js"></script>
    <script>
      $(document).foundation();
    </script>
  </body>
  </html>