code: public static Short toShort(Object o) throws PageException {
  	if (o instanceof Short) return (Short) o;
  	return Short.valueOf(toShortValue(o));
  
      }
docs: cast a Object to a Byte Object(reference type)
  
  @param o Object to cast
  @return casted Byte Object
  @throws PageException