return aux;
}
catch (ClassNotFoundException e)
{
throw new ExcepcionPiezaDesconocida(p.charAt(0));
}
catch (SecurityException e)
{
throw new ExcepcionPiezaDesconocida(p.charAt(0));
}
catch (NoSuchMethodException e)
{
throw new ExcepcionPiezaDesconocida(p.charAt(0));
}
catch (InstantiationException e)
{
throw new ExcepcionPiezaDesconocida(p.charAt(0));
}
catch (InvocationTargetException e)
{
throw new ExcepcionPiezaDesconocida(p.charAt(0));
}
catch (IllegalAccessException e)
{
throw new ExcepcionPiezaDesconocida(p.charAt(0));
}
catch (IllegalArgumentException e)
{
throw new ExcepcionPiezaDesconocida(p.charAt(0));
}
}