Item logger improvements.
This commit is contained in:
@@ -1112,7 +1112,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||
}
|
||||
|
||||
// Notify to scripts.
|
||||
@@ -1159,7 +1159,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1171,7 +1171,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1187,7 +1187,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1199,7 +1199,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1212,7 +1212,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||
}
|
||||
|
||||
if (_elementals == null)
|
||||
@@ -1233,7 +1233,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1364,7 +1364,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1388,7 +1388,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1697,7 +1697,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1744,7 +1744,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1792,7 +1792,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -2324,7 +2324,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
||||
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2387,7 +2387,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
||||
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2399,7 +2399,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
||||
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2444,7 +2444,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
||||
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2488,7 +2488,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
else if (id != 0)
|
||||
{
|
||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
||||
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user