public static ClassSignature toClassSignature(String sig) throws BadBytecode {
  try {
    return parseSig(sig);
  }
 catch (  IndexOutOfBoundsException e) {
    throw error(sig);
  }
}

public static ClassSignature toClassSignature ( String sig ) throws BadBytecode { try { return parseSig ( sig ) ; } catch ( IndexOutOfBoundsException e ) { throw error ( sig ) ; } }
parses the given signature string as a class signature .
